IDirect3DRMProgressiveMesh::Abort
Terminates the currently active download.
HRESULT Abort(
DWORD dwFlags
)
Parameters
dwFlags
Must be set to zero.
Return Values
Returns DD_OK if successful, or one of the following errors:
D3DRMERR_INVALIDOBJECT
D3DRMERR_INVALIDPARAMS
Remarks
If the base mesh has been downloaded before this method is called, the effect is as if the progressive mesh has loaded, the vertex splits are in a valid state, and the progressive mesh is renderable. The other progressive mesh methods will work. If the base mesh has not been downloaded before the IDirect3DRMProgressiveMesh::Abort call and you have added the progressive mesh to a scene, the Render will succeed but the progressive mesh will not be rendered. Also, if the base mesh has not been downloaded, when you try to use the progressive mesh (to create a mesh or clone, for example) the call will return D3DRMERR_NOTENOUGHDATA.
If there are any outstanding events, they are signaled.