void GetPlayerUsingDVDecoder(IltmmPlay *pPlay) { VARIANT_BOOL bUsingDV; // try to get the UsingDVDecoder setting HRESULT hr = pPlay->get_UsingDVDecoder(&bUsingDV); // if using DV decoder, set the resolution to full if(SUCCEEDED(hr) && bUsingDV) { // you are using DV decoder. Tell the DV decoder to decode to the largest resolution pPlay->put_DVDecoderResolution(ltmmDVResolution_Full); } }