D3DKMTGetContextInProcessSchedulingPriority function (d3dkmthk.h)

Called by an in-process (in-proc) Microsoft Direct3D composition device to retrieve the scheduling priority for a device context that is in the same process as other device contexts.

Syntax

NTSTATUS D3DKMTGetContextInProcessSchedulingPriority(
  D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY *unnamedParam1
);

Parameters

unnamedParam1

pContextPriority [in, out]

A pointer to a D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY structure that describes information that is required to retrieve the scheduling priority for a device context.

Return value

Returns one of the following values:

Return code Description
STATUS_SUCCESS The scheduling priority was successfully retrieved.
STATUS_INVALID_PARAMETER Parameters were validated and determined to be incorrect.

This function might also return other NTSTATUS values.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Universal
Header d3dkmthk.h (include D3dkmthk.h)
Library Gdi32.lib
DLL Gdi32.dll

See also

D3DKMTSetContextInProcessSchedulingPriority

D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY