Skip to content

Commit f0dfd2e

Browse files
committed
Windows: sort C functions
1 parent 2fbd1f8 commit f0dfd2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mss/windows.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,16 @@ class BITMAPINFO(Structure):
8383
"CreateCompatibleBitmap": ("gdi32", [HDC, INT, INT], HBITMAP),
8484
"CreateCompatibleDC": ("gdi32", [HDC], HDC),
8585
"DeleteObject": ("gdi32", [HGDIOBJ], INT),
86+
"EnumDisplayMonitors": ("user32", [HDC, c_void_p, MONITORNUMPROC, LPARAM], BOOL),
8687
"GetDeviceCaps": ("gdi32", [HWND, INT], INT),
8788
"GetDIBits": (
8889
"gdi32",
8990
[HDC, HBITMAP, UINT, UINT, c_void_p, POINTER(BITMAPINFO), UINT],
9091
BOOL,
9192
),
92-
"SelectObject": ("gdi32", [HDC, HGDIOBJ], HGDIOBJ),
93-
"EnumDisplayMonitors": ("user32", [HDC, c_void_p, MONITORNUMPROC, LPARAM], BOOL),
9493
"GetSystemMetrics": ("user32", [INT], INT),
9594
"GetWindowDC": ("user32", [HWND], HDC),
95+
"SelectObject": ("gdi32", [HDC, HGDIOBJ], HGDIOBJ),
9696
}
9797

9898

0 commit comments

Comments
 (0)