typedef struct _RTL_SRWLOCK
{
    union
    {
        struct
        {
            unsigned __int64 Locked : 1;
            unsigned __int64 Waiting : 1;
            unsigned __int64 Waking : 1;
            unsigned __int64 MultipleShared : 1;
            unsigned __int64 Shared : 60;
        };
        unsigned __int64 Value;
        void *Ptr;
    };
} RTL_SRWLOCK, *PRTL_SRWLOCK;