D3DKMT_GETMULTISAMPLEMETHODLIST structure (d3dkmthk.h)

The D3DKMT_GETMULTISAMPLEMETHODLIST structure describes parameters to retrieve the list of multiple-sample methods for an allocation.

Syntax

typedef struct _D3DKMT_GETMULTISAMPLEMETHODLIST {
  [in]     D3DKMT_HANDLE                  hAdapter;
  [in]     D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
  [in]     UINT                           Width;
  [in]     UINT                           Height;
  [in]     D3DDDIFORMAT                   Format;
  [out]    D3DKMT_MULTISAMPLEMETHOD       *pMethodList;
  [in/out] UINT                           MethodCount;
} D3DKMT_GETMULTISAMPLEMETHODLIST;

Members

[in] hAdapter

A handle to the graphics adapter.

[in] VidPnSourceId

The zero-based identification number of the video present source in a path of a video present network (VidPN) topology that the allocation is on.

[in] Width

The width of the allocation, in pixels.

[in] Height

The height of the allocation, in pixels.

[in] Format

A D3DDDIFORMAT-typed value that indicates the pixel format of the allocation.

[out] pMethodList

An array of D3DKMT_MULTISAMPLEMETHOD structures that describe the list of multiple-sampling methods used for the allocation; otherwise, this member is NULL.

[in/out] MethodCount

On input, the number of elements that the array that is specified by pMethodList can hold. On output, this member specifies the required number of elements that the array that is specified by pMethodList should hold.

Remarks

If the runtime returns a non-NULL value in pMethodList, the runtime returns a value in MethodCount that represents the number of elements that the array can hold. If the runtime returns NULL in pMethodList, the runtime returns a value in MethodCount that represents the size of the array buffer that is required, in number of elements.

Requirements

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

See also

D3DDDIFORMAT

D3DKMTGetMultisampleMethodList

D3DKMT_MULTISAMPLEMETHOD