22 template<
typename TYPE>
24 template<
typename TYPE>
27 template<
typename TYPE>
31 return StrArg<TYPE>(
reinterpret_cast<const char*
>(pszStr));
34 #ifdef _NATIVE_WCHAR_T_DEFINED
35 template<
typename TYPE>
39 return StrArg<TYPE>(
reinterpret_cast<const wchar_t*
>(pszStr));
45 template<
typename TYPE>
48 template<
typename TYPE>
50 template<
typename TYPE>
54 template<
typename TYPE>
56 template<
typename TYPE>
60 template<
typename TYPE>
84 return (
const BYTE *)pszStr;
94 return (
const BYTE*)
StrArg<char>((
const wchar_t*)pszStr);
97 template<>
inline const WORD*
GRAYCALL StrArg<WORD>(
const WORD* pszStr) noexcept
101 template<>
inline const WORD*
GRAYCALL StrArg<WORD>(
const wchar_t* pszStr) noexcept
103 return (
const WORD*)pszStr;
105 template<>
inline const WORD*
GRAYCALL StrArg<WORD>(
const char* pszStr) noexcept
109 template<>
inline const WORD*
GRAYCALL StrArg<WORD>(
const BYTE* pszStr) noexcept
#define GRAYCORE_LINK
Definition: GrayCore.h:47
#define GRAYCALL
declare calling convention for static functions so everyone knows the arg passing scheme....
Definition: GrayCore.h:36
#define TYPE
Definition: StrT.cpp:38
< The main namespace for all Core functions.
Definition: GrayCore.cpp:14
const BYTE *__stdcall StrArg< BYTE >(const BYTE *pszStr) noexcept
Definition: StrArg.h:78
int StrLen_t
the length of a string in chars (bytes for UTF8, wchar_t for UNICODE). or offset in characters....
Definition: StrConst.h:32
const wchar_t *__stdcall StrArg< wchar_t >(const wchar_t *pszStr) noexcept
Definition: StrArg.h:70
__DECL_IMPORT const TYPE *__stdcall StrArg(const char *pszStr)
WORD RADIX_t
Base for convert of numbers to strings. e.g. 10 base vs 16 base hex numbers.
Definition: StrChar.h:27
const char *__stdcall StrArg< char >(const char *pszStr) noexcept
Definition: StrArg.h:63