IDirect3DRMProgressiveMesh::GetFaceDetail

Retrieves the number of faces in the progressive mesh.


HRESULT GetFaceDetail(
LPDWORD lpdwCount
)

Parameters

lpdwCount

Address of a DWORD that will be filled in with the number of faces in the progressive mesh.

Return Values

Returns DD_OK if successful, or one of the following errors:

D3DRMERR_CONNECTIONLOST

D3DRMERR_INVALIDDATA

D3DRMERR_PENDING

D3DRMERR_INVALIDOBJECT

D3DRMERR_INVALIDPARAMS

Remarks

If the number of faces is not available, this method returns D3DRMERR_PENDING.