◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_DOSSEMAPHORES typedef struct _DOSFSRSEM { /* dosfsrs */ USHORT cb; PID pid; TID tid; USHORT cUsage; USHORT client; ULONG sem; } DOSFSRSEM; The DOSFSRSEM structure contains information for a fast-safe RAM semaphore. Field Description ──────────────────────────────────────────────────────────────────────────── cb Specifies the size of the structure (in bytes). Programs written in the C language should use the sizeof operator to set this field. pid Specifies the process identifier of the process that owns the semaphore. If this field is zero, the semaphore is not owned. tid Specifies the thread identifier of the thread that owns the semaphore. cUsage Specifies the number of times the owner has issued a DosFSRamSemRequest function without a corresponding DosFSRamSemClear function. client Specifies any owner-recorded information that may be needed through maintain the semaphore and the resource being managed. sem Specifies the RAM semaphore to be used in this request. See Also DosFSRamSemClear, DosFSRamSemRequest ♦