// d3d10umddi.h
PFND3D10_2DDI_GETCAPS Pfnd3d102DdiGetcaps;
HRESULT Pfnd3d102DdiGetcaps(
D3D10DDI_HADAPTER unnamedParam1,
const D3D10_2DDIARG_GETCAPS *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The GetCaps(D3D10_2) function queries for capabilities of the graphics adapter.
unnamedParam1hAdapter [in]
A handle that identifies the graphics adapter.
unnamedParam2pData [in]
A pointer to a D3D10_2DDIARG_GETCAPS structure that describes the capabilities to retrieve.
GetCaps(D3D10_2) returns one of the following values:
| Return code | Description |
|---|---|
| S_OK | The capabilities are successfully retrieved. |
| E_OUTOFMEMORY | GetCaps(D3D10_2) could not allocate memory that is required for it to complete. |
The data that is returned by the GetCaps(D3D10_2) function in the pData member of the D3D10_2DDIARG_GETCAPS structure depends on the type of data that is requested (that is, the data depends on the Type member of D3D10_2DDIARG_GETCAPS and sometimes on the pInfo member).