D3DKMTSetContextInProcessSchedulingPriority function (d3dkmthk.h)

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

Syntax

NTSTATUS D3DKMTSetContextInProcessSchedulingPriority(
  [in] const D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY *unnamedParam1
);

Parameters

[in] unnamedParam1

A pointer to a D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY structure that describes parameters for setting 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 set.
STATUS_INVALID_PARAMETER Parameters were validated and determined to be incorrect.

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

D3DKMTGetContextInProcessSchedulingPriority

D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY