Determines if the target process is 64-bit or not. This will work only
if the current process has PROCESS_QUERY_INFORMATION access to the target.
EasyHook (in EasyHook.dll) Version: 2.7.6684.0 (2.7.6684.0)
public static bool IsX64Process(
Public Shared Function IsX64Process (
InTargetPID As Integer
) As Boolean
static bool IsX64Process(
static member IsX64Process :
InTargetPID : int -> bool
- Type: SystemInt32
The PID of the target process.
if the given process is 64-bit, false
A typical mistake is to enumerate processes under system privileges and
calling this method later when required. This won't work in most cases because
you'll also need system privileges to run this method on processes in other sessions!