DXGKDDI_DESTROYNATIVEFENCE callback function (d3dkmddi.h)
The OS calls KMD's DxgkDdiDestroyNativeFence to destroy a tracking object for a native GPU fence.
Syntax
DXGKDDI_DESTROYNATIVEFENCE DxgkddiDestroynativefence;
NTSTATUS DxgkddiDestroynativefence(
INOUT_PDXGKARG_DESTROYNATIVEFENCE pDestroyNativeFence
)
{...}
Parameters
pDestroyNativeFence
[in/out] Pointer to a DXGKARG_DESTROYNATIVEFENCE structure that describes the native GPU fence object to destroy.
Return value
DxgkDdiDestroyNativeFence returns STATUS_SUCCESS if KMD was able to successfully destroy the native GPU fence object. Otherwise, it returns an appropriate NTSTATUS error code.
Remarks
The OS calls DxgkDdiDestroyNativeFence to instruct the KMD to destroy the driver tracking object for a given native GPU fence. After the call returns, the OS will deallocate storage for CurrentValue and MonitoredValue.
For more information about native GPU fences, see Native GPU fence objects.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11, version 24H2 |
Header | d3dkmddi.h |
IRQL | PASSIVE_LEVEL |