DXGKDDI_BEGINEXCLUSIVEACCESS callback function (d3dkmddi.h)

Implemented by the client driver to begin exclusive access.

Syntax

DXGKDDI_BEGINEXCLUSIVEACCESS DxgkddiBeginexclusiveaccess;

NTSTATUS DxgkddiBeginexclusiveaccess(
  IN_CONST_HANDLE hAdapter,
  IN_PDXGKARG_BEGINEXCLUSIVEACCESS pBeginExclusiveAccess
)
{...}

Parameters

hAdapter

A handle to a context block that is associated with a display adapter.

pBeginExclusiveAccess

Pointer to a DXGKARG_BEGINEXCLUSIVEACCESS structure to begin exclusive access.

Return value

Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS Values error code.

Remarks

Register your implementation of this callback function by setting the appropriate member of DXGKARG_BEGINEXCLUSIVEACCESS and then calling DxgkddiBeginExclusiveAccess.

Requirements

   
Header d3dkmddi.h