D3DKMT_CREATEKEYEDMUTEX2_FLAGS structure (d3dkmthk.h)

Indicates how a handle to a keyed mutex is specified.

Syntax

typedef struct _D3DKMT_CREATEKEYEDMUTEX2_FLAGS {
  union {
    struct {
      UINT NtSecuritySharing : 1;
      UINT Reserved : 31;
    };
    [in] UINT Value;
  };
} D3DKMT_CREATEKEYEDMUTEX2_FLAGS;

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.

[in] Value

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

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DKMTCreateKeyedMutex2

D3DKMTShareObjects

D3DKMT_CREATEKEYEDMUTEX2