Microsoft Windows CE 3.0  

CBaseMediaFilter::SetSyncSource

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Identifies the reference clock to which the filter should synchronize activity.

HRESULT SetSyncSource(
IReferenceClock *
pClock
);

Parameters

pClock
Pointer to the IReferenceClockinterface.

Return Values

Returns an HRESULTvalue.

Remarks

This member function implements the IMediaFilter::SetSyncSourcemethod. It sets the m_pClockdata member to the pClockparameter and increments the reference count on the IReferenceClockinterface passed in.

This member function is most important to rendering filters and might not apply to other filters.

Filters should derive their filters from CBaseFilterand not from CBaseMediaFilter, so filters will not likely use this member function. Use CBaseFilter::SetSyncSourceinstead.