This class provides basic system functionalities on windows platforms.
More...
This class provides basic system functionalities on windows platforms.
◆ currentDirectory()
static IO::Directory Ocean::Platform::Win::System::currentDirectory |
( |
| ) |
|
|
static |
Returns the current directory used for this process.
- Returns
- Current directory
◆ currentLibraryModule()
static HMODULE Ocean::Platform::Win::System::currentLibraryModule |
( |
| ) |
|
|
static |
Returns the handle to the calling module (a runtime library).
This function returns nullptr if the calling module is an application.
Every valid module handle must be released by an explicit FreeLibrary() call.
- Returns
- The handle of the calling module library, nullptr otherwise
◆ environmentVariable()
static std::string Ocean::Platform::Win::System::environmentVariable |
( |
const std::string & |
variable, |
|
|
const bool |
removeQuotes = true |
|
) |
| |
|
static |
Returns a defined environment variable.
- Parameters
-
variable | Environment variable to return |
removeQuotes | Determines whether all beginning and ending quotes are removed from the environment variable, if existent |
- Returns
- Specified environment variable
◆ moduleName()
static std::wstring Ocean::Platform::Win::System::moduleName |
( |
const HMODULE |
handle | ) |
|
|
static |
Returns the corresponding name (the filename) of a given module handle.
- Parameters
-
handle | The handle for that the corresponding name is returned |
- Returns
- Resulting handle handle, if any
◆ processDirectory()
static IO::Directory Ocean::Platform::Win::System::processDirectory |
( |
| ) |
|
|
static |
Returns the process directory used for this process.
- Returns
- Process directory
The documentation for this class was generated from the following file: