DXGKDDI_RESUMECONTEXT callback function (d3dkmddi.h)

Resumes a context. A context is created in a resumed state by default.

Syntax

DXGKDDI_RESUMECONTEXT DxgkddiResumecontext;

NTSTATUS DxgkddiResumecontext(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_PDXGKARG_RESUMECONTEXT pResumeContext
)
{...}

Parameters

hAdapter

The hardware context to be resumed.

pResumeContext

Pointer a DXGKARG_RESUMECONTEXT structure that contains information to resume the content.

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_RESUMECONTEXT and then calling DxgkDdiResumeContext.

Requirements

   
Header d3dkmddi.h