RETERR NdiGetOwnerWindow(hndi, lphwnd) HNDI hndi; // NDI handle HWND FAR* lphwnd; // address of window handle
The NdiGetOwnerWindow function returns the window handle of owner of the NDI in lphwnd.