LEADTOOLS Media Foundation Help > Programming with LEADTOOLS Media Foundation > C++ Code > IltmfConvert::PauseConvert Example for C++ |
void OnPauseConvert(IltmfConvert *pConvert) { // try to pause the conversion HRESULT hr = pConvert->PauseConvert(); if (FAILED(hr)) { MessageBox(NULL, TEXT("Error pausing convert session"), TEXT("Pause Convert"), MB_OK); } }