Figure 3

        struct _DOSFSRSEM
        {
            USHORT          cb;
            PID             pid;
            TID             tid;
            USHORT          cUsage;
            USHORT          client;
            ULONG           sem;
        };
        typedef struct _DOSFSRSEM       DOSFSRSEM;

cb          Specifies the length of the structure.  Currently
            this must be initialized to 14.

pid         Specifies the process ID of the owning process.

tid         Specifies the owning thread ID.

cUsage      Count of the number of times the owner has
            requested the semaphore without clearing it.

client      A word reserved for use by the semaphore owner.

sem         The actual RAM semaphore