GetWindowPlacement function Null safety user32

int GetWindowPlacement(
  1. int hWnd,
  2. Pointer<WINDOWPLACEMENT> lpwndpl
)

Retrieves the show state and the restored, minimized, and maximized positions of the specified window.

BOOL GetWindowPlacement(
  HWND            hWnd,
  WINDOWPLACEMENT *lpwndpl);

Implementation

int GetWindowPlacement(int hWnd, Pointer<WINDOWPLACEMENT> lpwndpl) =>
    _GetWindowPlacement(hWnd, lpwndpl);