RemoteHookingIsX64Process Method |
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.
Namespace:
EasyHook
Assembly:
EasyHook (in EasyHook.dll) Version: 2.7.6684.0 (2.7.6684.0)
Syntax public static bool IsX64Process(
int InTargetPID
)
Public Shared Function IsX64Process (
InTargetPID As Integer
) As Boolean
public:
static bool IsX64Process(
int InTargetPID
)
static member IsX64Process :
InTargetPID : int -> bool
Parameters
- InTargetPID
- Type: SystemInt32
The PID of the target process.
Return Value
Type:
Booleantrue if the given process is 64-bit,
false otherwise.
Exceptions Remarks
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!
See Also