![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cKernel.h>
Public Member Functions | |
| CKeRegistry (ULONG uRelativeTo, PWSTR pPath) | |
| NTSTATUS | CreateKey () |
| NTSTATUS | CheckKey () |
| NTSTATUS | WriteValue (IN PCWSTR ValueName, IN ULONG ValueType, IN PVOID ValueData, IN ULONG ValueLength) |
| NTSTATUS | DeleteValue (IN PCWSTR ValueName=nullptr) |
| NTSTATUS | QueryValues (RTL_QUERY_REGISTRY_TABLE *pQueryTable, IN PVOID pContext=nullptr, IN PVOID pEnvironment=nullptr) |
| NTSTATUS | WriteValueStr (IN PCWSTR ValueName, UNICODE_STRING &str) |
| NTSTATUS | WriteValueStr (IN PCWSTR ValueName, const WCHAR *pStr) |
Public Attributes | |
| ULONG | m_uRelativeTo |
| RTL_REGISTRY_ABSOLUTE, RTL_REGISTRY_DEVICEMAP, RTL_REGISTRY_MAXIMUM, etc. More... | |
| PWSTR | m_pPath |
| e.g. L"SERIALCOMM" More... | |
Read/Write values to/from the registry.
|
inline |
|
inline |
|
inline |
|
inline |
ValueName = nullptr = the key.
|
inline |
|
inline |
ValueName = nullptr = write for the key. ValueType = REG_SZ, REG_DWORD, etc. ValueData = pointer to the data buffer.
|
inline |
|
inline |
| PWSTR GrayKernel::CKeRegistry::m_pPath |
e.g. L"SERIALCOMM"
| ULONG GrayKernel::CKeRegistry::m_uRelativeTo |
RTL_REGISTRY_ABSOLUTE, RTL_REGISTRY_DEVICEMAP, RTL_REGISTRY_MAXIMUM, etc.