共用方式為


IDistributorNotify::SetSyncSource

 
Microsoft DirectShow 9.0

IDistributorNotify::SetSyncSource

The SetSyncSource method is called when a new clock is registered.

Syntax

  HRESULT SetSyncSource(
  IReferenceClock *pClock
);

Parameters

pClock

[in] Pointer to the new clock's IReferenceClock interface.

Return Values

Returns an HRESULT value.

Remarks

This method is called before the filters are notified. Make sure to use AddRef on the pClock parameter if the plug-in distributor intends to hold it beyond this method call.

Requirements

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

Library: Use Strmiids.lib.

See Also