NativeMethods ​
Provides P/Invoke declarations and helper methods for interacting with native Windows APIs.
Kind: Static class
Namespace: ConnectorLib
Public Static Functions
IntPtr
Retrieves a handle for the current process.
bool
Opens the access token associated with a process.
IntPtr
Opens an existing local process object.
IntPtr
Opens an existing local process object.
IntPtr
Creates a thread that runs in the virtual address space of another process.
bool
Retrieves the context of a thread.
bool
Sets the context of a thread.
bool
Retrieves the context of a WOW64 thread (32-bit thread running under 64-bit Windows).
bool
Sets the context of a WOW64 thread (32-bit thread running under 64-bit Windows).
bool
Closes an open object handle.
bool
Retrieves the locally unique identifier (LUID) for a specified privilege on a system.
bool
Enables or disables privileges in the specified access token.
NtStatus
Represents the basic information about a process.
bool
Reads data from the memory of a specified process.
bool
Reads data from the memory of a specified process.
bool
Reads data from the memory of a specified process.
bool
Reads data from the memory of a specified process.
bool
Reads data from the memory of a specified process.
bool
Reads data from the memory of a specified process.
bool
Writes data to the memory of a specified process.
bool
Writes data to the memory of a specified process.
bool
Writes data to the memory of a specified process.
bool
Writes data to the memory of a specified process.
bool
Writes data to the memory of a specified process.
bool
Writes data to the memory of a specified process.
bool
Writes data to the memory of a specified process.
bool
Writes data to the memory of a specified process.
void
Retrieves information about the current system.
int
Retrieves information about a range of pages in the virtual address space of a specified process.
int
Retrieves information about a range of pages in the virtual address space of a specified process.
IntPtr
Reserves, commits, or changes the state of a region of memory within the virtual address space of a specified process.
IntPtr
Reserves, commits, or changes the state of a region of memory within the virtual address space of a specified process.
bool
Releases, decommits, or frees a region of memory within the virtual address space of a specified process.
bool
Retrieves the exit code of a specified thread.
bool
Retrieves the exit code of a specified thread.
bool
Flushes the instruction cache for a specified process.
uint
Waits until the specified object is in the signaled state or the time-out interval elapses.
bool
Determines whether the specified process is running under WOW64.
bool
Retrieves the client area of a specified window.
Public Attributes
uint
INFINITE
Indicates that the wait operation should not time out.
