HWND GetParent(hwnd) | ||||
HWND hwnd; | /* handle of window, */ |
The GetParent function retrieves the handle of the given window's parent window (if any).
hwnd
Identifies the window whose parent window handle is to be retrieved.
The return value is the handle of the parent window if the function is successful. Otherwise, it is NULL, indicating an error or no parent window.