![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cKernel.h>
Public Member Functions | |
void | InitStr () |
void | InitStatic (const char *pStr) |
void | InitBuffer (char *pBuffer, USHORT uMaximumLength) |
bool | IsValidStr () const |
operator PCHAR () | |
NTSTATUS | ToInteger (ULONG &uValue, ULONG nBase=10) const |
NTSTATUS | FromUnicode (PUNICODE_STRING pStr, bool bAlloc=false) |
NTSTATUS | AppendStr (const char *pStr, USHORT uLenStr) |
NTSTATUS | AppendStr (const ANSI_STRING &str) |
NTSTATUS | AppendStr (const char *pStr) |
NTSTATUS | AppendStr (const WCHAR *pStr, USHORT uLenStr) |
NTSTATUS | AppendStr (const WCHAR *pStr) |
void | FreeSys () |
PCHAR based (ANSI/ASCII) string. MaximumLength = length in bytes/chars. (includes space for '\0')
|
inline |
Append the string for as much room as we have. then fail.
|
inline |
Append the string for as much room as we have. then fail.
|
inline |
|
inline |
|
inline |
Append Unicode string to the ANSI string. uLenStr = bytes use RtlUnicodeStringToAnsiString() ?
|
inline |
|
inline |
Set this from a Unicode string.
|
inline |
uMaximumLength = bytes = sizeof(*pBuffer); // includes space for trailing null
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
get uValue from the string.