ILMDVRSink::CreateEvents Example for C++
void CDVRSinkDlg::OnCreateEvents(ILMDVRSink* pSink)
{
long registrationId;
long processId;
OLE_HANDLE dataWrittenEvent;
OLE_HANDLE listChangedEvent;
pSink-> CreateEvents (registrationId, processId, &dataWrittenEvent, &listChangedEvent);
}