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