MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / IsOS64Bit

Function IsOS64Bit

source/util.cpp:1986–1998  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1984}
1985
1986BOOL IsOS64Bit()
1987{
1988#ifdef _WIN64
1989 // OS must be 64-bit to run this program.
1990 return TRUE;
1991#else
1992 // If OS is 64-bit, this program must be running in WOW64.
1993 BOOL is32on64;
1994 if (IsWow64Process(GetCurrentProcess(), &is32on64))
1995 return is32on64;
1996 return FALSE;
1997#endif
1998}
1999
2000
2001

Callers 3

LayoutHasAltGrDirectFunction · 0.85
BIV_DECL_WFunction · 0.85
BIV_DECL_RFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected