MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / GetWindowPlacement

Function GetWindowPlacement

Win32Lib/Window.cpp:16–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14namespace Win32 {
15
16WINDOWPLACEMENT GetWindowPlacement(HWND hwnd)
17{
18 WINDOWPLACEMENT placement;
19 placement.length = sizeof(placement);
20 if (!::GetWindowPlacement(hwnd, &placement))
21 ThrowLastError("GetWindowPlacement");
22 return placement;
23}
24
25POINT GetMessagePos()
26{

Callers 2

OnSelChangeMethod · 0.85
SaveSettingsMethod · 0.85

Calls 1

ThrowLastErrorFunction · 0.85

Tested by

no test coverage detected