// d3dkmthk.h
typedef struct _D3DKMT_OPENNATIVEFENCEFROMNTHANDLE {
HANDLE hNtHandle;
D3DKMT_HANDLE hDevice;
UINT EngineAffinity;
D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS Flags;
D3DKMT_HANDLE hSyncObject;
D3DDDI_NATIVEFENCEMAPPING NativeFenceMapping;
BYTE PrivateDriverData[D3DDDI_NATIVE_FENCE_PDD_SIZE];
BYTE Reserved[32];
} D3DKMT_OPENNATIVEFENCEFROMNTHANDLE;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMT_OPENNATIVEFENCEFROMNTHANDLE structure is a parameter for the D3DKMTOpenNativeFenceFromNTHandle function. It describes the native fence to open.
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.
For more information about native GPU fences, see Native GPU fence objects.
D3DKMTOpenNativeFenceFromNTHandle