Process Hacker
|
Go to the source code of this file.
Functions | |
NTSTATUS | KphpDeviceIoControl (_In_ ULONG KphControlCode, _In_ PVOID InBuffer, _In_ ULONG InBufferLength) |
NTSTATUS | KphConnect (_In_opt_ PWSTR DeviceName) |
NTSTATUS | KphConnect2 (_In_opt_ PWSTR DeviceName, _In_ PWSTR FileName) |
NTSTATUS | KphConnect2Ex (_In_opt_ PWSTR DeviceName, _In_ PWSTR FileName, _In_opt_ PKPH_PARAMETERS Parameters) |
NTSTATUS | KphDisconnect (VOID) |
BOOLEAN | KphIsConnected (VOID) |
NTSTATUS | KphSetParameters (_In_opt_ PWSTR DeviceName, _In_ PKPH_PARAMETERS Parameters) |
NTSTATUS | KphInstall (_In_opt_ PWSTR DeviceName, _In_ PWSTR FileName) |
NTSTATUS | KphInstallEx (_In_opt_ PWSTR DeviceName, _In_ PWSTR FileName, _In_opt_ PKPH_PARAMETERS Parameters) |
NTSTATUS | KphUninstall (_In_opt_ PWSTR DeviceName) |
NTSTATUS | KphGetFeatures (_Out_ PULONG Features) |
NTSTATUS | KphOpenProcess (_Out_ PHANDLE ProcessHandle, _In_ ACCESS_MASK DesiredAccess, _In_ PCLIENT_ID ClientId) |
NTSTATUS | KphOpenProcessToken (_In_ HANDLE ProcessHandle, _In_ ACCESS_MASK DesiredAccess, _Out_ PHANDLE TokenHandle) |
NTSTATUS | KphOpenProcessJob (_In_ HANDLE ProcessHandle, _In_ ACCESS_MASK DesiredAccess, _Out_ PHANDLE JobHandle) |
NTSTATUS | KphSuspendProcess (_In_ HANDLE ProcessHandle) |
NTSTATUS | KphResumeProcess (_In_ HANDLE ProcessHandle) |
NTSTATUS | KphTerminateProcess (_In_ HANDLE ProcessHandle, _In_ NTSTATUS ExitStatus) |
NTSTATUS | KphReadVirtualMemory (_In_ HANDLE ProcessHandle, _In_ PVOID BaseAddress, _Out_writes_bytes_(BufferSize) PVOID Buffer, _In_ SIZE_T BufferSize, _Out_opt_ PSIZE_T NumberOfBytesRead) |
NTSTATUS | KphWriteVirtualMemory (_In_ HANDLE ProcessHandle, _In_opt_ PVOID BaseAddress, _In_reads_bytes_(BufferSize) PVOID Buffer, _In_ SIZE_T BufferSize, _Out_opt_ PSIZE_T NumberOfBytesWritten) |
NTSTATUS | KphReadVirtualMemoryUnsafe (_In_opt_ HANDLE ProcessHandle, _In_ PVOID BaseAddress, _Out_writes_bytes_(BufferSize) PVOID Buffer, _In_ SIZE_T BufferSize, _Out_opt_ PSIZE_T NumberOfBytesRead) |
NTSTATUS | KphQueryInformationProcess (_In_ HANDLE ProcessHandle, _In_ KPH_PROCESS_INFORMATION_CLASS ProcessInformationClass, _Out_writes_bytes_(ProcessInformationLength) PVOID ProcessInformation, _In_ ULONG ProcessInformationLength, _Out_opt_ PULONG ReturnLength) |
NTSTATUS | KphSetInformationProcess (_In_ HANDLE ProcessHandle, _In_ KPH_PROCESS_INFORMATION_CLASS ProcessInformationClass, _In_reads_bytes_(ProcessInformationLength) PVOID ProcessInformation, _In_ ULONG ProcessInformationLength) |
NTSTATUS | KphOpenThread (_Out_ PHANDLE ThreadHandle, _In_ ACCESS_MASK DesiredAccess, _In_ PCLIENT_ID ClientId) |
NTSTATUS | KphOpenThreadProcess (_In_ HANDLE ThreadHandle, _In_ ACCESS_MASK DesiredAccess, _Out_ PHANDLE ProcessHandle) |
NTSTATUS | KphTerminateThread (_In_ HANDLE ThreadHandle, _In_ NTSTATUS ExitStatus) |
NTSTATUS | KphTerminateThreadUnsafe (_In_ HANDLE ThreadHandle, _In_ NTSTATUS ExitStatus) |
NTSTATUS | KphGetContextThread (_In_ HANDLE ThreadHandle, _Inout_ PCONTEXT ThreadContext) |
NTSTATUS | KphSetContextThread (_In_ HANDLE ThreadHandle, _In_ PCONTEXT ThreadContext) |
NTSTATUS | KphCaptureStackBackTraceThread (_In_ HANDLE ThreadHandle, _In_ ULONG FramesToSkip, _In_ ULONG FramesToCapture, _Out_writes_(FramesToCapture) PVOID *BackTrace, _Out_opt_ PULONG CapturedFrames, _Out_opt_ PULONG BackTraceHash) |
NTSTATUS | KphQueryInformationThread (_In_ HANDLE ThreadHandle, _In_ KPH_THREAD_INFORMATION_CLASS ThreadInformationClass, _Out_writes_bytes_(ThreadInformationLength) PVOID ThreadInformation, _In_ ULONG ThreadInformationLength, _Out_opt_ PULONG ReturnLength) |
NTSTATUS | KphSetInformationThread (_In_ HANDLE ThreadHandle, _In_ KPH_THREAD_INFORMATION_CLASS ThreadInformationClass, _In_reads_bytes_(ThreadInformationLength) PVOID ThreadInformation, _In_ ULONG ThreadInformationLength) |
NTSTATUS | KphEnumerateProcessHandles (_In_ HANDLE ProcessHandle, _Out_writes_bytes_(BufferLength) PVOID Buffer, _In_opt_ ULONG BufferLength, _Out_opt_ PULONG ReturnLength) |
NTSTATUS | KphEnumerateProcessHandles2 (_In_ HANDLE ProcessHandle, _Out_ PKPH_PROCESS_HANDLE_INFORMATION *Handles) |
NTSTATUS | KphQueryInformationObject (_In_ HANDLE ProcessHandle, _In_ HANDLE Handle, _In_ KPH_OBJECT_INFORMATION_CLASS ObjectInformationClass, _Out_writes_bytes_(ObjectInformationLength) PVOID ObjectInformation, _In_ ULONG ObjectInformationLength, _Out_opt_ PULONG ReturnLength) |
NTSTATUS | KphSetInformationObject (_In_ HANDLE ProcessHandle, _In_ HANDLE Handle, _In_ KPH_OBJECT_INFORMATION_CLASS ObjectInformationClass, _In_reads_bytes_(ObjectInformationLength) PVOID ObjectInformation, _In_ ULONG ObjectInformationLength) |
NTSTATUS | KphDuplicateObject (_In_ HANDLE SourceProcessHandle, _In_ HANDLE SourceHandle, _In_opt_ HANDLE TargetProcessHandle, _Out_opt_ PHANDLE TargetHandle, _In_ ACCESS_MASK DesiredAccess, _In_ ULONG HandleAttributes, _In_ ULONG Options) |
NTSTATUS | KphOpenDriver (_Out_ PHANDLE DriverHandle, _In_ POBJECT_ATTRIBUTES ObjectAttributes) |
NTSTATUS | KphQueryInformationDriver (_In_ HANDLE DriverHandle, _In_ DRIVER_INFORMATION_CLASS DriverInformationClass, _Out_writes_bytes_(DriverInformationLength) PVOID DriverInformation, _In_ ULONG DriverInformationLength, _Out_opt_ PULONG ReturnLength) |
Variables | |
HANDLE | PhKphHandle = NULL |
NTSTATUS KphCaptureStackBackTraceThread | ( | _In_ HANDLE | ThreadHandle, |
_In_ ULONG | FramesToSkip, | ||
_In_ ULONG | FramesToCapture, | ||
_Out_writes_(FramesToCapture) PVOID * | BackTrace, | ||
_Out_opt_ PULONG | CapturedFrames, | ||
_Out_opt_ PULONG | BackTraceHash | ||
) |
NTSTATUS KphConnect2 | ( | _In_opt_ PWSTR | DeviceName, |
_In_ PWSTR | FileName | ||
) |
NTSTATUS KphConnect2Ex | ( | _In_opt_ PWSTR | DeviceName, |
_In_ PWSTR | FileName, | ||
_In_opt_ PKPH_PARAMETERS | Parameters | ||
) |
NTSTATUS KphDuplicateObject | ( | _In_ HANDLE | SourceProcessHandle, |
_In_ HANDLE | SourceHandle, | ||
_In_opt_ HANDLE | TargetProcessHandle, | ||
_Out_opt_ PHANDLE | TargetHandle, | ||
_In_ ACCESS_MASK | DesiredAccess, | ||
_In_ ULONG | HandleAttributes, | ||
_In_ ULONG | Options | ||
) |
NTSTATUS KphEnumerateProcessHandles | ( | _In_ HANDLE | ProcessHandle, |
_Out_writes_bytes_(BufferLength) PVOID | Buffer, | ||
_In_opt_ ULONG | BufferLength, | ||
_Out_opt_ PULONG | ReturnLength | ||
) |
NTSTATUS KphEnumerateProcessHandles2 | ( | _In_ HANDLE | ProcessHandle, |
_Out_ PKPH_PROCESS_HANDLE_INFORMATION * | Handles | ||
) |
NTSTATUS KphGetContextThread | ( | _In_ HANDLE | ThreadHandle, |
_Inout_ PCONTEXT | ThreadContext | ||
) |
NTSTATUS KphInstall | ( | _In_opt_ PWSTR | DeviceName, |
_In_ PWSTR | FileName | ||
) |
NTSTATUS KphInstallEx | ( | _In_opt_ PWSTR | DeviceName, |
_In_ PWSTR | FileName, | ||
_In_opt_ PKPH_PARAMETERS | Parameters | ||
) |
NTSTATUS KphOpenDriver | ( | _Out_ PHANDLE | DriverHandle, |
_In_ POBJECT_ATTRIBUTES | ObjectAttributes | ||
) |
NTSTATUS KphOpenProcess | ( | _Out_ PHANDLE | ProcessHandle, |
_In_ ACCESS_MASK | DesiredAccess, | ||
_In_ PCLIENT_ID | ClientId | ||
) |
NTSTATUS KphOpenProcessJob | ( | _In_ HANDLE | ProcessHandle, |
_In_ ACCESS_MASK | DesiredAccess, | ||
_Out_ PHANDLE | JobHandle | ||
) |
NTSTATUS KphOpenProcessToken | ( | _In_ HANDLE | ProcessHandle, |
_In_ ACCESS_MASK | DesiredAccess, | ||
_Out_ PHANDLE | TokenHandle | ||
) |
NTSTATUS KphOpenThread | ( | _Out_ PHANDLE | ThreadHandle, |
_In_ ACCESS_MASK | DesiredAccess, | ||
_In_ PCLIENT_ID | ClientId | ||
) |
NTSTATUS KphOpenThreadProcess | ( | _In_ HANDLE | ThreadHandle, |
_In_ ACCESS_MASK | DesiredAccess, | ||
_Out_ PHANDLE | ProcessHandle | ||
) |
NTSTATUS KphpDeviceIoControl | ( | _In_ ULONG | KphControlCode, |
_In_ PVOID | InBuffer, | ||
_In_ ULONG | InBufferLength | ||
) |
NTSTATUS KphQueryInformationDriver | ( | _In_ HANDLE | DriverHandle, |
_In_ DRIVER_INFORMATION_CLASS | DriverInformationClass, | ||
_Out_writes_bytes_(DriverInformationLength) PVOID | DriverInformation, | ||
_In_ ULONG | DriverInformationLength, | ||
_Out_opt_ PULONG | ReturnLength | ||
) |
NTSTATUS KphQueryInformationObject | ( | _In_ HANDLE | ProcessHandle, |
_In_ HANDLE | Handle, | ||
_In_ KPH_OBJECT_INFORMATION_CLASS | ObjectInformationClass, | ||
_Out_writes_bytes_(ObjectInformationLength) PVOID | ObjectInformation, | ||
_In_ ULONG | ObjectInformationLength, | ||
_Out_opt_ PULONG | ReturnLength | ||
) |
NTSTATUS KphQueryInformationProcess | ( | _In_ HANDLE | ProcessHandle, |
_In_ KPH_PROCESS_INFORMATION_CLASS | ProcessInformationClass, | ||
_Out_writes_bytes_(ProcessInformationLength) PVOID | ProcessInformation, | ||
_In_ ULONG | ProcessInformationLength, | ||
_Out_opt_ PULONG | ReturnLength | ||
) |
NTSTATUS KphQueryInformationThread | ( | _In_ HANDLE | ThreadHandle, |
_In_ KPH_THREAD_INFORMATION_CLASS | ThreadInformationClass, | ||
_Out_writes_bytes_(ThreadInformationLength) PVOID | ThreadInformation, | ||
_In_ ULONG | ThreadInformationLength, | ||
_Out_opt_ PULONG | ReturnLength | ||
) |
NTSTATUS KphReadVirtualMemory | ( | _In_ HANDLE | ProcessHandle, |
_In_ PVOID | BaseAddress, | ||
_Out_writes_bytes_(BufferSize) PVOID | Buffer, | ||
_In_ SIZE_T | BufferSize, | ||
_Out_opt_ PSIZE_T | NumberOfBytesRead | ||
) |
NTSTATUS KphReadVirtualMemoryUnsafe | ( | _In_opt_ HANDLE | ProcessHandle, |
_In_ PVOID | BaseAddress, | ||
_Out_writes_bytes_(BufferSize) PVOID | Buffer, | ||
_In_ SIZE_T | BufferSize, | ||
_Out_opt_ PSIZE_T | NumberOfBytesRead | ||
) |
NTSTATUS KphSetContextThread | ( | _In_ HANDLE | ThreadHandle, |
_In_ PCONTEXT | ThreadContext | ||
) |
NTSTATUS KphSetInformationObject | ( | _In_ HANDLE | ProcessHandle, |
_In_ HANDLE | Handle, | ||
_In_ KPH_OBJECT_INFORMATION_CLASS | ObjectInformationClass, | ||
_In_reads_bytes_(ObjectInformationLength) PVOID | ObjectInformation, | ||
_In_ ULONG | ObjectInformationLength | ||
) |
NTSTATUS KphSetInformationProcess | ( | _In_ HANDLE | ProcessHandle, |
_In_ KPH_PROCESS_INFORMATION_CLASS | ProcessInformationClass, | ||
_In_reads_bytes_(ProcessInformationLength) PVOID | ProcessInformation, | ||
_In_ ULONG | ProcessInformationLength | ||
) |
NTSTATUS KphSetInformationThread | ( | _In_ HANDLE | ThreadHandle, |
_In_ KPH_THREAD_INFORMATION_CLASS | ThreadInformationClass, | ||
_In_reads_bytes_(ThreadInformationLength) PVOID | ThreadInformation, | ||
_In_ ULONG | ThreadInformationLength | ||
) |
NTSTATUS KphSetParameters | ( | _In_opt_ PWSTR | DeviceName, |
_In_ PKPH_PARAMETERS | Parameters | ||
) |
NTSTATUS KphTerminateProcess | ( | _In_ HANDLE | ProcessHandle, |
_In_ NTSTATUS | ExitStatus | ||
) |
NTSTATUS KphTerminateThread | ( | _In_ HANDLE | ThreadHandle, |
_In_ NTSTATUS | ExitStatus | ||
) |
NTSTATUS KphTerminateThreadUnsafe | ( | _In_ HANDLE | ThreadHandle, |
_In_ NTSTATUS | ExitStatus | ||
) |
NTSTATUS KphWriteVirtualMemory | ( | _In_ HANDLE | ProcessHandle, |
_In_opt_ PVOID | BaseAddress, | ||
_In_reads_bytes_(BufferSize) PVOID | Buffer, | ||
_In_ SIZE_T | BufferSize, | ||
_Out_opt_ PSIZE_T | NumberOfBytesWritten | ||
) |