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