Bewerken

Delen via


D3DKMTSetQueuedLimit function (d3dkmthk.h)

The D3DKMTSetQueuedLimit function sets or retrieves the limit for the number of operations of the given type that can be queued for the given device.

Syntax

NTSTATUS D3DKMTSetQueuedLimit(
  [in] const D3DKMT_SETQUEUEDLIMIT *unnamedParam1
);

Parameters

[in] unnamedParam1

A pointer to a D3DKMT_SETQUEUEDLIMIT structure that describes parameters for setting or retrieving the limit of queued operations.

Return value

D3DKMTSetQueuedLimit returns one of the following values:

Return code Description
STATUS_SUCCESS The limit of queued operations was successfully set or retrieved.
STATUS_DEVICE_REMOVED The graphics adapter was stopped or the display device was reset.
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 Vista
Target Platform Universal
Header d3dkmthk.h (include D3dkmthk.h)
Library Gdi32.lib
DLL Gdi32.dll

See also

D3DKMT_QUEUEDLIMIT_TYPE

D3DKMT_SETQUEUEDLIMIT