d3d9.dllExtractClusterIDs
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXPRTCompBuffer::ExtractClusterIDs Method


Extracts the per-sample cluster identifiers (IDs) from an ID3DXPRTCompBuffer compressed data buffer.

Syntax

HRESULT ExtractClusterIDs(      

    UINT *pClusterIDs );

Parameters

pClusterIDs
[in, out] Pointer to the location in memory where IDs are written. The length of memory required is the value returned by ID3DXPRTCompBuffer::GetNumSamples.

Return Value

If the method succeeds, the return value is S_OK.

If the method fails, the following value will be returned.

D3DERR_INVALIDCALLThe method call is invalid. For example, a method's parameter may have an invalid value.




© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.