// d3dkmddi.h
DXGKDDI_SETUPPRIORITYBANDS DxgkddiSetupprioritybands;
NTSTATUS DxgkddiSetupprioritybands(
IN_CONST_HANDLE hAdapter,
IN_CONST_PDXGKARG_SETUPPRIORITYBANDS pSetupPriorityBands
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Set up the GPU scheduler priority band configuration, after adapter startup and before scheduling the first GPU work item. This call can be made in the middle of GPU work execution, and the GPU scheduler needs to use the new value during the next yield calculation.
hAdapterThe logical adapter for which the priority band assignment is made.
pSetupPriorityBandsPointer to a DXGKARG_SETUPPRIORITYBANDS structure that contains information to set up priority bands.
Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS Values error code.
//Declaration
DXGKDDI_SETUPPRIORITYBANDS DxgkddiSetupprioritybands;
// Definition
NTSTATUS DxgkddiSetupprioritybands
(
IN_CONST_HANDLE hAdapter
IN_CONST_PDXGKARG_SETUPPRIORITYBANDS pSetupPriorityBands
)
{...}
DXGKDDI_SETUPPRIORITYBANDS *PDXGKDDI_SETUPPRIORITYBANDS
Register your implementation of this callback function by setting the appropriate member of DXGKARG_SETUPPRIORITYBANDS and then calling DxgkDdiSetupPriorityBands.