共用方式為


ICodecAPI::UnregisterForEvent

 
Microsoft DirectShow 9.0

ICodecAPI::UnregisterForEvent

The UnregisterForEvent method unregisters the application for a specified encoder event.

Syntax

  HRESULT UnregisterForEvent(
  const GUID*  Api,
);

Parameters

Api

[in]  Pointer to a GUID that specifies the event.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also