void OnPauseConvert(IltmmConvert *pConvert) { // try to pause the conversion HRESULT hr = pConvert->PauseConvert(); if (FAILED(hr)) { MessageBox(NULL, TEXT("Error pausing convert graph"), TEXT("Pause Convert"), MB_OK); } }