_D3DKMT_GETMULTISAMPLEMETHODLIST structure

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

Syntax

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

Members

hAdapter

[in] A handle to the graphics adapter.

VidPnSourceId

[in] 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.

Width

[in] The width of the allocation, in pixels.

Height

[in] The height of the allocation, in pixels.

Format

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

pMethodList

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

MethodCount

[in/out] 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

   
Windows version Available in Windows Vista and later versions of the Windows operating systems. Available in Windows Vista and later versions of the Windows operating systems.
Header d3dkmthk.h (include D3dumddi.h)

See Also

D3DDDIFORMAT

D3DKMTGetMultisampleMethodList

D3DKMT_MULTISAMPLEMETHOD