|
template<class _Traits , class _Ax > |
static DWORD | GetModuleFileNameA (HMODULE hModule, std::basic_string< char, _Traits, _Ax > &sValue) noexcept |
| Retrieves the fully qualified path for the file that contains the specified module and stores it in a std::wstring string.
|
|
template<class _Traits , class _Ax > |
static DWORD | GetModuleFileNameW (HMODULE hModule, std::basic_string< wchar_t, _Traits, _Ax > &sValue) noexcept |
| Retrieves the fully qualified path for the file that contains the specified module and stores it in a std::wstring string.
|
|
template<class _Traits , class _Ax > |
static int | GetWindowTextA (HWND hWnd, std::basic_string< char, _Traits, _Ax > &sValue) noexcept |
| Copies the text of the specified window's title bar (if it has one) into a std::wstring string.
|
|
template<class _Traits , class _Ax > |
static int | GetWindowTextW (HWND hWnd, std::basic_string< wchar_t, _Traits, _Ax > &sValue) noexcept |
| Copies the text of the specified window's title bar (if it has one) into a std::wstring string.
|
|
template<class _Ty , class _Ax > |
static BOOL | GetFileVersionInfoA (LPCSTR lptstrFilename, __reserved DWORD dwHandle, std::vector< _Ty, _Ax > &aValue) noexcept |
| Retrieves version information for the specified file and stores it in a std::vector buffer.
|
|
template<class _Ty , class _Ax > |
static BOOL | GetFileVersionInfoW (LPCWSTR lptstrFilename, __reserved DWORD dwHandle, std::vector< _Ty, _Ax > &aValue) noexcept |
| Retrieves version information for the specified file and stores it in a std::vector buffer.
|
|
template<class _Traits , class _Ax > |
static DWORD | ExpandEnvironmentStringsA (LPCSTR lpSrc, std::basic_string< char, _Traits, _Ax > &sValue) |
| Expands environment-variable strings, replaces them with the values defined for the current user, and stores it in a std::wstring string.
|
|
template<class _Traits , class _Ax > |
static DWORD | ExpandEnvironmentStringsW (LPCWSTR lpSrc, std::basic_string< wchar_t, _Traits, _Ax > &sValue) |
| Expands environment-variable strings, replaces them with the values defined for the current user, and stores it in a std::wstring string.
|
|
template<class _Traits , class _Ax > |
static VOID | GuidToStringA (LPCGUID lpGuid, std::basic_string< char, _Traits, _Ax > &str) noexcept |
| Formats GUID and stores it in a std::wstring string.
|
|
template<class _Traits , class _Ax > |
static VOID | GuidToStringW (LPCGUID lpGuid, std::basic_string< wchar_t, _Traits, _Ax > &str) noexcept |
| Formats GUID and stores it in a std::wstring string.
|
|
static BOOL | StringToGuidA (LPCSTR lpszGuid, LPGUID lpGuid, LPCSTR *lpszGuidEnd=NULL) noexcept |
| Parses string with GUID and stores it to GUID.
|
|
static BOOL | StringToGuidW (LPCWSTR lpszGuid, LPGUID lpGuid, LPCWSTR *lpszGuidEnd=NULL) noexcept |
| Parses string with GUID and stores it to GUID.
|
|
template<class _Traits , class _Ax > |
static LSTATUS | RegQueryStringValue (HKEY hReg, LPCSTR pszName, std::basic_string< char, _Traits, _Ax > &sValue) noexcept |
| Queries for a string value in the registry and stores it in a std::string string.
|
|
template<class _Traits , class _Ax > |
static LSTATUS | RegQueryStringValue (HKEY hReg, LPCWSTR pszName, std::basic_string< wchar_t, _Traits, _Ax > &sValue) noexcept |
| Queries for a string value in the registry and stores it in a std::wstring string.
|
|
template<class _Ty , class _Ax > |
static LSTATUS | RegQueryValueExA (HKEY hKey, LPCSTR lpValueName, __reserved LPDWORD lpReserved, LPDWORD lpType, std::vector< _Ty, _Ax > &aData) noexcept |
| Retrieves the type and data for the specified value name associated with an open registry key and stores the data in a std::vector buffer.
|
|
template<class _Ty , class _Ax > |
static LSTATUS | RegQueryValueExW (HKEY hKey, LPCWSTR lpValueName, __reserved LPDWORD lpReserved, LPDWORD lpType, std::vector< _Ty, _Ax > &aData) noexcept |
| Retrieves the type and data for the specified value name associated with an open registry key and stores the data in a std::vector buffer.
|
|
template<class _Traits , class _Ax > |
static LSTATUS | RegLoadMUIStringA (HKEY hKey, LPCSTR pszValue, std::basic_string< char, _Traits, _Ax > &sOut, DWORD Flags, LPCSTR pszDirectory) noexcept |
| Loads the specified string from the specified key and subkey, and stores it in a std::wstring string.
|
|
template<class _Traits , class _Ax > |
static LSTATUS | RegLoadMUIStringW (HKEY hKey, LPCWSTR pszValue, std::basic_string< wchar_t, _Traits, _Ax > &sOut, DWORD Flags, LPCWSTR pszDirectory) noexcept |
| Loads the specified string from the specified key and subkey, and stores it in a std::wstring string.
|
|
template<class _Traits , class _Ax > |
static int | NormalizeString (NORM_FORM NormForm, LPCWSTR lpSrcString, int cwSrcLength, std::basic_string< wchar_t, _Traits, _Ax > &sDstString) noexcept |
| Normalizes characters of a text string according to Unicode 4.0 TR#15.
|
|
template<class _Traits1 , class _Ax1 , class _Traits2 , class _Ax2 > |
static int | NormalizeString (NORM_FORM NormForm, const std::basic_string< wchar_t, _Traits1, _Ax1 > &sSrcString, std::basic_string< wchar_t, _Traits2, _Ax2 > &sDstString) noexcept |
| Normalizes characters of a text string according to Unicode 4.0 TR#15.
|
|
template<class _Traits , class _Ax > |
static int WINAPI | LoadStringA (HINSTANCE hInstance, UINT uID, std::basic_string< char, _Traits, _Ax > &sBuffer) noexcept |
| Loads a string resource from the executable file associated with a specified module.
|
|
template<class _Traits , class _Ax > |
static int WINAPI | LoadStringW (HINSTANCE hInstance, UINT uID, std::basic_string< wchar_t, _Traits, _Ax > &sBuffer) noexcept |
| Loads a string resource from the executable file associated with a specified module.
|
|
static VOID | OutputDebugStrV (LPCSTR lpOutputString, va_list arg) noexcept |
| Formats and sends a string to the debugger for display.
|
|
static VOID | OutputDebugStrV (LPCWSTR lpOutputString, va_list arg) noexcept |
| Formats and sends a string to the debugger for display.
|
|
static VOID | OutputDebugStr (LPCSTR lpOutputString,...) noexcept |
| Formats and sends a string to the debugger for display.
|
|
static VOID | OutputDebugStr (LPCWSTR lpOutputString,...) noexcept |
| Formats and sends a string to the debugger for display.
|
|
template<class _Traits , class _Ax > |
static int | GetDateFormatA (LCID Locale, DWORD dwFlags, const SYSTEMTIME *lpDate, LPCSTR lpFormat, std::basic_string< char, _Traits, _Ax > &sDate) noexcept |
| Formats a date as a date string for a locale specified by the locale identifier. The function formats either a specified date or the local system date.
|
|
template<class _Traits , class _Ax > |
static int | GetDateFormatW (LCID Locale, DWORD dwFlags, const SYSTEMTIME *lpDate, LPCWSTR lpFormat, std::basic_string< wchar_t, _Traits, _Ax > &sDate) noexcept |
| Formats a date as a date string for a locale specified by the locale identifier. The function formats either a specified date or the local system date.
|
|
template<class _Traits , class _Ax > |
static BOOL | LookupAccountSidA (LPCSTR lpSystemName, PSID lpSid, std::basic_string< char, _Traits, _Ax > *sName, std::basic_string< char, _Traits, _Ax > *sReferencedDomainName, PSID_NAME_USE peUse) noexcept |
| Retrieves the name of the account for this SID and the name of the first domain on which this SID is found.
|
|
template<class _Traits , class _Ax > |
static BOOL | LookupAccountSidW (LPCWSTR lpSystemName, PSID lpSid, std::basic_string< wchar_t, _Traits, _Ax > *sName, std::basic_string< wchar_t, _Traits, _Ax > *sReferencedDomainName, PSID_NAME_USE peUse) noexcept |
| Retrieves the name of the account for this SID and the name of the first domain on which this SID is found.
|
|
static BOOL | CreateWellKnownSid (WELL_KNOWN_SID_TYPE WellKnownSidType, PSID DomainSid, std::unique_ptr< SID > &Sid) |
| Creates a SID for predefined aliases.
|
|
template<class _Ty > |
static BOOL | GetTokenInformation (HANDLE TokenHandle, TOKEN_INFORMATION_CLASS TokenInformationClass, std::unique_ptr< _Ty > &TokenInformation) noexcept |
| Retrieves a specified type of information about an access token. The calling process must have appropriate access rights to obtain the information.
|
|
template<class _Traits , class _Ax > |
static BOOL | QueryFullProcessImageNameA (HANDLE hProcess, DWORD dwFlags, std::basic_string< char, _Traits, _Ax > &sExeName) |
| Retrieves the full name of the executable image for the specified process.
|
|
template<class _Traits , class _Ax > |
static BOOL | QueryFullProcessImageNameW (HANDLE hProcess, DWORD dwFlags, std::basic_string< wchar_t, _Traits, _Ax > &sExeName) |
| Retrieves the full name of the executable image for the specified process.
|
|
static LSTATUS | RegCreateKeyExA (HKEY hKey, LPCSTR lpSubKey, DWORD Reserved, LPSTR lpClass, DWORD dwOptions, REGSAM samDesired, CONST LPSECURITY_ATTRIBUTES lpSecurityAttributes, winstd::reg_key &result, LPDWORD lpdwDisposition) |
| Creates the specified registry key. If the key already exists, the function opens it.
|
|
static LSTATUS | RegCreateKeyExW (HKEY hKey, LPCWSTR lpSubKey, DWORD Reserved, LPWSTR lpClass, DWORD dwOptions, REGSAM samDesired, CONST LPSECURITY_ATTRIBUTES lpSecurityAttributes, winstd::reg_key &result, LPDWORD lpdwDisposition) |
| Creates the specified registry key. If the key already exists, the function opens it.
|
|
static LSTATUS | RegOpenKeyExA (HKEY hKey, LPCSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, winstd::reg_key &result) |
| Opens the specified registry key.
|
|
static LSTATUS | RegOpenKeyExW (HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, winstd::reg_key &result) |
| Opens the specified registry key.
|
|
static BOOL | OpenProcessToken (HANDLE ProcessHandle, DWORD DesiredAccess, winstd::win_handle< NULL > &TokenHandle) |
| Opens the access token associated with a process.
|
|
static BOOL | DuplicateTokenEx (HANDLE hExistingToken, DWORD dwDesiredAccess, LPSECURITY_ATTRIBUTES lpTokenAttributes, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, TOKEN_TYPE TokenType, winstd::win_handle< NULL > &NewToken) |
| Creates a new access token that duplicates an existing token. This function can create either a primary token or an impersonation token.
|
|
static BOOL | AllocateAndInitializeSid (PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority, BYTE nSubAuthorityCount, DWORD nSubAuthority0, DWORD nSubAuthority1, DWORD nSubAuthority2, DWORD nSubAuthority3, DWORD nSubAuthority4, DWORD nSubAuthority5, DWORD nSubAuthority6, DWORD nSubAuthority7, winstd::security_id &Sid) |
| Allocates and initializes a security identifier (SID) with up to eight subauthorities.
|
|
static DWORD | SetEntriesInAclA (ULONG cCountOfExplicitEntries, PEXPLICIT_ACCESS_A pListOfExplicitEntries, PACL OldAcl, std::unique_ptr< ACL, winstd::LocalFree_delete< ACL > > &Acl) |
| Creates a new access control list (ACL) by merging new access control or audit control information into an existing ACL structure.
|
|
static DWORD | SetEntriesInAclW (ULONG cCountOfExplicitEntries, PEXPLICIT_ACCESS_W pListOfExplicitEntries, PACL OldAcl, std::unique_ptr< ACL, winstd::LocalFree_delete< ACL > > &Acl) |
| Creates a new access control list (ACL) by merging new access control or audit control information into an existing ACL structure.
|
|
template<class _Traits , class _Ax > |
BOOL | GetThreadPreferredUILanguages (DWORD dwFlags, PULONG pulNumLanguages, std::basic_string< wchar_t, _Traits, _Ax > &sValue) |
| Retrieves the thread preferred UI languages for the current thread.
|
|