
Go to the source code of this file.
Typedefs | |
| typedef HANDLE | HTHREAD |
Enumerations | |
| enum | VMType { kVMUnknown = 0, kVMWare32, kVMWare64, kVBox32, kVBox64 } |
Functions | |
| HANDLE | CreateVMSessionList () |
| Creates a list of active VM sessions. | |
| void | CloseVMSessionList (HANDLE hList) |
| Frees a list of active VM sessions. | |
| unsigned | GetNextVMSessionPID (HANDLE hList) |
| Gets a PID of a next VM session from a given list. | |
| unsigned | GetNextVMSessionPIDEx (HANDLE hList, VMType *pVMType) |
| unsigned | GetVMSessionNameW (unsigned PID, wchar_t *pName, size_t MaxNameLength) |
| Retrieves the name of a virtual machine (VM directory name), corresponding to a given session PID. | |
| bool | IsVMSessionPatched (unsigned PID) |
| Determines, whether a given VM session is already patched by KDVM. | |
| bool | PatchVMSessionIfNeeded (unsigned PID) |
| Loads KDCLIENT.DLL into VM session, if it is not already loaded. | |
| bool | UnpatchVMSessionIfNeeded (unsigned PID) |
| Unloads KDCLIENT.DLL from a VM session, if it was loaded. | |
| HTHREAD | StartVMSessionPatching (unsigned PID) |
| Unloads KDCLIENT.DLL from a VM session, if it was loaded. Returns NULL if already done. | |
| HTHREAD | StartVMSessionUnpatching (unsigned PID) |
| Unloads KDCLIENT.DLL from a VM session, if it was loaded. Returns NULL if already done. | |
| int | FindVMSessionByNameW (const wchar_t *pName) |
| Returns a PID of a VM session with a given name (VM dir name), or 0 if it does not exist. | |
| unsigned | GetVMPipeNameW (unsigned PID, wchar_t *pName, size_t MaxNameLength, bool TryReconstructingIfNotAvailable) |
| Gets a pipe name for a given VM session. | |
Definition in file patchapi.h.
| typedef HANDLE HTHREAD |
Definition at line 53 of file patchapi.h.
| enum VMType |
| void CloseVMSessionList | ( | HANDLE | hList | ) |
| HANDLE CreateVMSessionList | ( | ) |
Creates a list of active VM sessions.
Definition at line 54 of file patchapi.cpp.
| int FindVMSessionByNameW | ( | const wchar_t * | pName | ) |
Returns a PID of a VM session with a given name (VM dir name), or 0 if it does not exist.
Definition at line 316 of file patchapi.cpp.

| unsigned GetNextVMSessionPID | ( | HANDLE | hList | ) |
Gets a PID of a next VM session from a given list.
Definition at line 73 of file patchapi.cpp.

| unsigned GetNextVMSessionPIDEx | ( | HANDLE | hList, | |
| VMType * | pVMType | |||
| ) |
| unsigned GetVMPipeNameW | ( | unsigned | PID, | |
| wchar_t * | pName, | |||
| size_t | MaxNameLength, | |||
| bool | TryReconstructingIfNotAvailable | |||
| ) |
Gets a pipe name for a given VM session.
Definition at line 337 of file patchapi.cpp.

| unsigned GetVMSessionNameW | ( | unsigned | PID, | |
| wchar_t * | pName, | |||
| size_t | MaxNameLength | |||
| ) |
Retrieves the name of a virtual machine (VM directory name), corresponding to a given session PID.
Definition at line 164 of file patchapi.cpp.

| bool IsVMSessionPatched | ( | unsigned | PID | ) |
Determines, whether a given VM session is already patched by KDVM.
Definition at line 182 of file patchapi.cpp.

| bool PatchVMSessionIfNeeded | ( | unsigned | PID | ) |
Loads KDCLIENT.DLL into VM session, if it is not already loaded.
Definition at line 248 of file patchapi.cpp.

| HTHREAD StartVMSessionPatching | ( | unsigned | PID | ) |
Unloads KDCLIENT.DLL from a VM session, if it was loaded. Returns NULL if already done.
Definition at line 270 of file patchapi.cpp.

| HTHREAD StartVMSessionUnpatching | ( | unsigned | PID | ) |
Unloads KDCLIENT.DLL from a VM session, if it was loaded. Returns NULL if already done.
Definition at line 293 of file patchapi.cpp.

| bool UnpatchVMSessionIfNeeded | ( | unsigned | PID | ) |
Unloads KDCLIENT.DLL from a VM session, if it was loaded.
Definition at line 259 of file patchapi.cpp.
