// d3dkmthk.h
NTSTATUS D3DKMTOpenNativeFenceFromNtHandle(
D3DKMT_OPENNATIVEFENCEFROMNTHANDLE *unnamedParam1
);
View the official Windows Driver Kit DDI referenceNo description available.
The D3D runtime calls *D3DKMTOpenNativeFenceFromNTHandle to open an existing shared native fence on a different device or process.
unnamedParam1[in/out] Pointer to a D3DKMT_OPENNATIVEFENCEFROMNTHANDLE structure that describes the fence object to open.
D3DKMTOpenNativeFenceFromNTHandle returns STATUS_SUCCESS on successful creation. Otherwise it returns an NTSTATUS error code such as STATUS_INVALID_PARAMETER.
If the native fence is being opened on a different device of the same process, then NativeFenceMapping contains the same virtual addresses as the original native fence. If it is being opened on a different process, then NativeFenceMapping contains new VAs mapped in the new process address space.
For more information about native GPU fences, see Native GPU fence objects.
D3DKMT_OPENNATIVEFENCEFROMNTHANDLE
D3DKMTDestroySynchronizationObject