HydraHook
Direct3D and Core Audio hooking library for Windows
Loading...
Searching...
No Matches
Global.h File Reference

Utility functions for environment expansion and process info. More...

#include <string>
#include <Psapi.h>

Go to the source code of this file.

Namespaces

namespace  HydraHook
namespace  HydraHook::Core
namespace  HydraHook::Core::Util

Functions

std::string HydraHook::Core::Util::expand_environment_variables (const std::string &str)
 Expands environment variables (e.g. TEMP%) in a string.
std::string HydraHook::Core::Util::process_name ()
 Returns the full path of the current process executable.
std::string HydraHook::Core::Util::get_module_directory (HMODULE hMod)
 Returns the directory containing the given module.
std::string HydraHook::Core::Util::get_process_directory ()
 Returns the directory containing the main process executable.

Detailed Description

Utility functions for environment expansion and process info.

Definition in file Global.h.