DXGKDDI_RESUMECONTEXT callback function (d3dkmddi.h)

DxgkddiResumeContext 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

[in] The hardware context to be resumed.

pResumeContext

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

Return value

DxgkddiResumeContext returns STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS error code.

Remarks

Register your implementation of this callback function by setting it in DRIVER_INITIALIZATION_DATA.

Requirements

Requirement Value
Header d3dkmddi.h

See also

DxgkddiSuspendContext