| Microsoft DirectX 9.0 | 
This topic applies to Windows XP Service Pack 1 only.
The GetAttributeCount method returns the number of attributes that are currently defined for this stream buffer file.
Syntax
HRESULT GetAttributeCount(
    ULONG ulReserved,
    WORD *pcAttributes
);
Parameters
ulReserved
[in] Reserved. Set this parameter to zero.
pcAttributes
[out] Pointer to a variable that receives the number of attributes.
Return Values
Returns an HRESULT value. Possible values include the following.
| Value | Description | 
| E_POINTER | NULL pointer argument | 
| S_OK | Success | 
Requirements
Include Sbe.h.
See Also