D3DKMT_CREATEKEYEDMUTEX2_FLAGS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmthk.h

typedef struct _D3DKMT_CREATEKEYEDMUTEX2_FLAGS {
  union {
    struct {
      UINT NtSecuritySharing : 1;
      UINT Reserved : 31;
    };
    [in] UINT Value;
  };
} D3DKMT_CREATEKEYEDMUTEX2_FLAGS;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmthk-_d3dkmt_createkeyedmutex2_flags)

_D3DKMT_CREATEKEYEDMUTEX2_FLAGS structure

Description

Indicates how a handle to a keyed mutex is specified.

Members

NtSecuritySharing

A UINT value that specifies whether the keyed mutex is shared or has a global D3DKMT_HANDLE kernel-mode handle to the resource.

If NtSecuritySharing is set to 1 (TRUE), the keyed mutex is shared using the D3DKMTShareObjects function but does not have a global D3DKMT_HANDLE handle to the resource. In this case, the process handle to the resource is provided by the D3DKMT_CREATEKEYEDMUTEX2.hKeyedMutex member in a call to the D3DKMTCreateKeyedMutex2 function.

If NtSecuritySharing is set to zero (FALSE), the keyed mutex has a global D3DKMT_HANDLE handle to the resource provided by the D3DKMT_CREATEKEYEDMUTEX2.hSharedHandle member in a call to D3DKMTCreateKeyedMutex2.

Reserved

This member is reserved and should be set to zero. Setting this member is equivalent to setting the remaining 31 bits (0xFFFFFFFE) of a 32-bit value to zeros.

Value [in]

A member in the union that D3DKMT_CREATEKEYEDMUTEX2_FLAGS contains that can hold a 32-bit value that identifies the keyed mutex sharing type.

See also

D3DKMTCreateKeyedMutex2

D3DKMTShareObjects

D3DKMT_CREATEKEYEDMUTEX2