D3DKMT_SETQUEUEDLIMIT structure (d3dkmthk.h)

The D3DKMT_SETQUEUEDLIMIT structure describes parameters for setting or retrieving the limit for the number of operations of the given type that can be queued for the given device.

Syntax

typedef struct _D3DKMT_SETQUEUEDLIMIT {
  [in]     D3DKMT_HANDLE           hDevice;
  [in]     D3DKMT_QUEUEDLIMIT_TYPE Type;
  union {
    [in/out] UINT QueuedPresentLimit;
    struct {
      D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
      UINT                           QueuedPendingFlipLimit;
    };
  };
} D3DKMT_SETQUEUEDLIMIT;

Members

[in] hDevice

A D3DKMT_HANDLE data type that represents the kernel-mode handle to the device to set or retrieve the limit of queued operations for.

[in] Type

A D3DKMT_QUEUEDLIMIT_TYPE-typed value that indicates the type of operations to set or retrieve the queued limit for.

[in/out] QueuedPresentLimit

The limit for the number of present operations that can be queued for the device that is specified by hDevice. If the OpenGL installable client driver (ICD) sets QueuedPresentLimit to 0, the limit for the device is reset to the graphics adapter's default value, which is currently 3. The union that is contained in D3DKMT_SETQUEUEDLIMIT contains the limiting number if the Type member is D3DKMT_SET_QUEUEDLIMIT_PRESENT and retrieves the number if Type is D3DKMT_GET_QUEUEDLIMIT_PRESENT.

[in] VidPnSourceId

An integer that identifies a video present source that is in the path of a video present network (VidPN) topology. The union that is contained in D3DKMT_SETQUEUEDLIMIT contains the integer if the present operations are flips.

[in/out] QueuedPendingFlipLimit

The limit for the number of flip operations that can be queued for the device that is specified by hDevice. If the OpenGL ICD sets QueuedPendingFlipLimit to 0, the limit for the device is reset to the graphics adapter's default value, which is currently 1. The union that is contained in D3DKMT_SETQUEUEDLIMIT contains the limiting number if the present operations are flips.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DKMTSetQueuedLimit

D3DKMT_QUEUEDLIMIT_TYPE