次の方法で共有


IBroadcastEvent::Fire

 
Microsoft DirectShow 9.0

IBroadcastEvent::Fire

The Fire method fires a broadcast event.

Syntax

  HRESULT Fire(
  
  GUID
  
  EventID
  
  );

Parameters

  EventID

GUID that specifies the event.

Return Values

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

Remarks

For television tuning, the following event is defined.

Tuner Event Description
EVENTID_TuningChanged Fired when the tuner changes stations or channels. Defined in Bdamedia.h.

For a list of events fired by the TV ratings components, see TV Ratings Broadcast Events.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also