// d3dkmthk.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMT_GETMULTISAMPLEMETHODLIST structure describes parameters to retrieve the list of multiple-sample methods for an allocation.
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.
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.
D3DKMTGetMultisampleMethodList