ILMDVRSink::FreeEvents Example for C++

void OnFreeEvents(ILMDVRSink* pSink, long registrationId)
{
   pSink->FreeEvents(registrationId);
}