D3DDDIARG_GETCAPS structure

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

Syntax


typedef struct _D3DDDIARG_GETCAPS {
  D3DDDICAPS_TYPE Type;
  VOID            *pInfo;
  VOID            *pData;
  UINT            DataSize;
} D3DDDIARG_GETCAPS;

Members

Type

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

pInfo

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

pData

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

DataSize

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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDICAPS_TYPE
GetCaps

 

 

Send comments about this topic to Microsoft

Show: