Skip to content

Commit 8b3d5d5

Browse files
committed
Merge pull request retep998#22 from ArtemGr/patch-1
FindWindowA
2 parents af839d5 + 89f67df commit 8b3d5d5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2822,6 +2822,12 @@ extern "system" {
28222822
lprc: *const RECT,
28232823
hbr: HBRUSH,
28242824
) -> c_int;
2825+
/// Retrieves a handle to the top-level window whose class name and window name match the specified strings.
2826+
/// cf. http://msdn.microsoft.com/library/windows/desktop/ms633499%28v=vs.85%29.aspx
2827+
pub fn FindWindowA (
2828+
lpClassName: LPCSTR,
2829+
lpWindowName: LPCSTR
2830+
) -> HWND;
28252831
pub fn GetClientRect(
28262832
hWnd: HWND,
28272833
lpRect: LPRECT,

0 commit comments

Comments
 (0)