D3DDDIARG_GETCAPS structure (d3dumddi.h)

The D3DDDIARG_GETCAPS structure contains display device capabilities of a particular type.

Syntax

typedef struct _D3DDDIARG_GETCAPS {
  [in]     D3DDDICAPS_TYPE Type;
  [in]     VOID            *pInfo;
  [out]    VOID            *pData;
  [in/out] UINT            DataSize;
} D3DDDIARG_GETCAPS;

Members

[in] Type

The type of capabilities to retrieve. The Microsoft Direct3D runtime can supply one of the values from the D3DDDICAPS_TYPE enumeration type, possibly along with information in the buffer that is pointed to by pInfo, to retrieve particular capability data in the buffer at pData.

[in] pInfo

A pointer to a buffer that contains data that specifies the specific condition on which to retrieve the capabilities of the type that is specified by the Type member.

[out] pData

A pointer to a buffer that is filled with capabilities of the type that is specified by the Type member and possibly determined by the condition that is specified in the buffer at pInfo.

[in/out] DataSize

The size, in bytes, of the buffer at pData.

Remarks

For information on how to specify D3DDDIARG_GETCAPS member values along with D3DDDICAPS_TYPE constant values, see Remarks of GetCaps.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

D3DDDICAPS_TYPE

GetCaps