Microsoft Windows CE 3.0  

CBaseFilter::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. The default implementation returns NOERROR.

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.