From 2d5cbdebca341e22001b18306c98e9dc66f52021 Mon Sep 17 00:00:00 2001 From: Tim Weis Date: Fri, 24 Jul 2020 18:44:57 +0200 Subject: [PATCH] Added constants for GetBinaryType. --- src/um/winbase.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/um/winbase.rs b/src/um/winbase.rs index 1891738e2..4aacfff6b 100644 --- a/src/um/winbase.rs +++ b/src/um/winbase.rs @@ -457,7 +457,13 @@ extern "system" { uMinFree: UINT, ) -> SIZE_T; } -// SCS_* +pub const SCS_32BIT_BINARY: DWORD = 0; +pub const SCS_DOS_BINARY: DWORD = 1; +pub const SCS_WOW_BINARY: DWORD = 2; +pub const SCS_PIF_BINARY: DWORD = 3; +pub const SCS_POSIX_BINARY: DWORD = 4; +pub const SCS_OS216_BINARY: DWORD = 5; +pub const SCS_64BIT_BINARY: DWORD = 6; extern "system" { pub fn GetBinaryTypeA( lpApplicationName: LPCSTR,