LEADTOOLS Media Foundation Help > Programming with LEADTOOLS Media Foundation > C++ Code > IltmfPlay::get_VideoWindowHandle Example for C++ |
void GetPlayerVideoWindowHandle(IltmfPlay *pPlay) { long lWndHandle; HRESULT hr = pPlay->get_VideoWindowHandle(&lWndHandle); if (SUCCEEDED(hr)) { // do something with the window handle } }