|Microsoft DirectX 9.0|
The StopPresenting method is called just after the video stops playing. The allocator-presenter should perform any necessary cleanup in this method.
HRESULT StopPresenting( DWORD_PTR dwUserID );
[in] An application-defined DWORD_PTR cookie that uniquely identifies this instance of the VMR for use in scenarios when one instance of the allocator-presenter is used with multiple VMR instances.
The method returns an HRESULT. Possible values include those in the following table.
|S_OK||The method succeeded.|
StopPresenting can be called only when the VMR is in a running state.
Include D3d9.h, Vmr9.h.