Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added constants for GetBinaryType. #931

Open
wants to merge 1 commit into
base: 0.3
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/um/winbase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down