A Windows API Wrapper
See Classes for more information
MODULE = std::pair<std::wstring, unsigned long long>
MODULE_LIST = std::vector<std::pair<std::wstring, unsigned long long>>
REGION_LIST = std::vectorXertz::MemoryRegion
PROCESS_INFO = Xertz::ProcessInfo
PROCESS_INFO_LIST = std::vectorXertz::ProcessInfo
NO_SUBSTRING = 0
IS_SUBSTRING = 1
CASE_SENSITIVE = 2
CASE_INSENSITIVE = 3
SCALAR = 0,
DECIBEL = 1,
MUTE = 2,
UNMUTE = 3
A singleton class that provides information and functions related to you system.
Returns a PROCESS_INFO (Xertz::ProcessInfo) that possesses the process ID specified by pid.
PROCESS_INFO Xertz::SystemInfo::GetProcessInfo(std::wstring processName, int substring, int caseSensitive)
Returns a PROCESS_INFO (Xertz::ProcessInfo) which name matches processName considering the criteria of substring and caseSensitive.
Returns a PROCESS_INFO_LIST& (std::vectorXertz::ProcessInfo&) containing information about all processes.
Kills the process specified by its process ID (pid). If successful return value is true.
Kills the process specified by its name (processName) considering the criteria of substring and caseSensitive. If successful return value is true.
Writes the master volume to *out. scalarOrDecibel defines the interpretation of the audio level. If successful return value is true.
Sets the master volume with the value given in in. scalarOrDecibel defines the interpretation of the audio level. If successful return value is true.
Mutes or unmutes the Master Volume according the option. If successful return value is true.
A class that delivers useful information of any running process and features various functions
Returns the process ID
Returns the process name.
Returns the module address of moduleName. If an error occurred return value is -1.
Returns a MODULE_LIST& (std::vector<std::pair<std::wstring, unsigned long long>>&) containing addresses and names of all modules.
Returns a REGION_LIST& (std::vectorXertz::MemoryRegion&) containing all memory regions.
Returns the HANDLE.
Returns true if 64-bit or false if 32-bit.
Returns true if currently running. False if suspended.
Returns the exe filepath.
Xertz::MemDump Xertz::ProcessInfo::DumpMemory(uint64_t baseAddress, uint64_t startingAddress, uint64_t size)
Dumps the memory to an object of Xertz::MemDump region of size from baseAddress starting at startingAddress.
bool Xertz::ProcessInfo::FillProcessMemory(uint64_t start, uint64_t writeCount, T val, uint64_t valSize)
Fills the value of val with the specified size of size writeCount times starting at start. If successful return value is true.
T Xertz::ProcessInfo::AllocateRegion(uint64_t size, uint64_t allocationType, uint64_t protection, uint64_t address = NULL)
Allocates a new memory region of size size with the allocation type of allocationType, the protection type of protection. Address can be specified (optional). Return value is the address of the new memory range.
A class that provides all useful information about a memory region.
Returns the Base Address of the Memory Region of type T
Returns the Allocation Base Address of the memory region of type T
Returns the Allocation Protection type
Returns the Region size
Returns the Mapping state
Returns the access protection code
Returns the Region Type
Returns the Partition ID