IMFCaptureEngineOnSampleCallback2::OnSynchronizedEvent method (mfcaptureengine.h)
Called by the capture sink when the format of the sample is changed.
Syntax
HRESULT OnSynchronizedEvent(
[in] IMFMediaEvent *pEvent
);
Parameters
[in] pEvent
The new media type.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The return value is ignored.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 [desktop apps only] |
Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
Target Platform | Windows |
Header | mfcaptureengine.h |