mirror of
https://github.com/decompals/wibo.git
synced 2025-12-13 07:06:18 +00:00
Split kernel32 into separate files (part 2)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "wow64apiset.h"
|
||||
#include "common.h"
|
||||
#include "errors.h"
|
||||
#include "handles.h"
|
||||
#include "kernel32.h"
|
||||
|
||||
namespace kernel32 {
|
||||
|
||||
@@ -28,7 +28,7 @@ BOOL WIN_FUNC IsWow64Process(HANDLE hProcess, PBOOL Wow64Process) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
const auto rawHandle = reinterpret_cast<uintptr_t>(hProcess);
|
||||
uintptr_t rawHandle = reinterpret_cast<uintptr_t>(hProcess);
|
||||
bool isPseudoHandle = rawHandle == static_cast<uintptr_t>(-1);
|
||||
if (!isPseudoHandle) {
|
||||
if (!hProcess) {
|
||||
|
||||
Reference in New Issue
Block a user