Bewerken

Delen via


D3DKMT_OPENNATIVEFENCEFROMNTHANDLE structure (d3dkmthk.h)

The D3DKMT_OPENNATIVEFENCEFROMNTHANDLE structure is a parameter for the D3DKMTOpenNativeFenceFromNTHandle function. It describes the native fence to open.

Syntax

typedef struct _D3DKMT_OPENNATIVEFENCEFROMNTHANDLE {
  HANDLE                             hNtHandle;
  D3DKMT_HANDLE                      hDevice;
  UINT                               EngineAffinity;
  D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS Flags;
  D3DKMT_HANDLE                      hSyncObject;
  D3DDDI_NATIVEFENCEMAPPING          NativeFenceMapping;
  BYTE                               Reserved[32];
} D3DKMT_OPENNATIVEFENCEFROMNTHANDLE;

Members

hNtHandle

[in] NT handle for the shared fence object.

hDevice

[in] Device handle to open this fence object on.

EngineAffinity

[in] Defines the physical adapters where the GPU virtual address is mapped.

Flags

[in] A D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS structure that identifies the attributes of the synchronization object.

hSyncObject

[out] Handle to the opened fence object.

NativeFenceMapping

[out] A D3DDDI_NATIVEFENCEMAPPING structure that contains process mapping information for the fence object.

Reserved[32]

Reserved for system use.

Remarks

For more information about native GPU fences, see Native GPU fence objects.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2
Header d3dkmthk.h

See also

D3DKMTOpenNativeFenceFromNTHandle