D3DKMTOpenNativeFenceFromNtHandle - NtDoc

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

NTSTATUS D3DKMTOpenNativeFenceFromNtHandle(
  D3DKMT_OPENNATIVEFENCEFROMNTHANDLE *unnamedParam1
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-d3dkmthk-d3dkmtopennativefencefromnthandle)

Description

The D3D runtime calls *D3DKMTOpenNativeFenceFromNTHandle to open an existing shared native fence on a different device or process.

Parameters

unnamedParam1

[in/out] Pointer to a D3DKMT_OPENNATIVEFENCEFROMNTHANDLE structure that describes the fence object to open.

Return value

D3DKMTOpenNativeFenceFromNTHandle returns STATUS_SUCCESS on successful creation. Otherwise it returns an NTSTATUS error code such as STATUS_INVALID_PARAMETER.

Remarks

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.

See also

D3DKMT_OPENNATIVEFENCEFROMNTHANDLE

D3DKMTCreateNativeFence

D3DKMTDestroySynchronizationObject

DxgkDdiOpenNativeFence