다음을 통해 공유


IVMRImagePresenter9::StopPresenting

 
Microsoft DirectShow 9.0

IVMRImagePresenter9::StopPresenting

The StopPresenting method is called just after the video stops playing. The allocator-presenter should perform any necessary cleanup in this method.

Syntax

  HRESULT StopPresenting(
  DWORD_PTR  dwUserID
);

Parameters

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.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Value Description
S_OK The method succeeded.

Remarks

StopPresenting can be called only when the VMR is in a running state.

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.

See Also