| Microsoft DirectX 8.1 (C++) | 
The GetTypeInfoCount method retrieves the number of type information interfaces the object provides.
Syntax
HRESULT GetTypeInfoCount(
    UINT *pctinfo
);
Parameters
pctinfo
Pointer to a variable that receives the number of type-information interfaces provided by the object. When the method returns, the value is 1.
Return Value
Returns one of the following values.
| Value | Description | 
| S_OK | Success. | 
| E_POINTER | Null pointer argument. | 
See Also