pub fn get_window_info(wnd: HWND) -> Result<WindowInfo>
Expand description
Retrieves the OBS window information associated with the given window handle.
§Arguments
handle
- The handle to the window.is_game
- If this flag is true, only game windows (that can be captured by the game source) are considered. Otherwisewindow_capture
source info is returned.
§Returns
Returns the OBS window information as struct
§Errors
Returns an error if there was a problem retrieving the OBS ID.