CPP > Win32 > Windows 32/64 확인
Redjini WiKi
- CPP > Win32 APIcpp/win32/api (6)
- CPP > Win32 > Firewal(방화벽)cpp/win32/firewal
- CPP > Win32 > Internet 신뢰 사이트cpp/win32/internet trust zone
- CPP > Win32 > UAC 확인cpp/win32/uac
- CPP > Win32 > Windows 32/64 확인cpp/win32/windows 32 64 check
- CPP > Win32 > Windows Message Codecpp/win32/windows message code (3)
- CPP > Win32 > WinINet 오류코드cpp/win32/wininet error code
- CPP > Win32 > WinINet(HTTP)cpp/win32/wininet http
- CPP > win32 > 레지스트리 등록cpp/win32/레지스트리 등록
- CPP > win32 > 프로세스 파일 경로cpp/win32/프로세스 파일 경로
Windows OS의 32bit 64bit 확인하기
소스
typedef BOOL (WINAPI *PISWOW64PROCESS )(HANDLE, PBOOL);
INT GetWindowsOsBit(){
#if _WIN64
return 64;
#endif
#if _WIN32
BOOL isWow64 = FALSE;
PISWOW64PROCESS fIsWow64Process = (PISWOW64PROCESS) GetProcAddress(GetModuleHandle(TEXT("kernel32")),"IsWow64Process");
if(fIsWow64Process){
if (!fIsWow64Process(GetCurrentProcess(), &isWow64)){
return 32;
}
if(isWow64){
return 64;
}
}
return 32;
#endif
}
BOOL IsWindowsOsBit64(){
return GetWindowsOsBit()==64? TRUE: FALSE;
}
BOOL IsWindowsOsBit32(){
return GetWindowsOsBit()==32? TRUE: FALSE;
}