19 size_t strLenPlusNull;
26 if (!lpszString)
return NULL;
93 size_t strSizePlusNull;
100 if (!dupStr)
return NULL;
110 size_t strSizePlusNull;
117 if (!dupStr)
return NULL;
134 if (!dupStr)
return NULL;
137 dupStr[strSize] =
'\0';
152 if (!dupStr)
return NULL;
155 dupStr[strSize] =
L'\0';
229 lpszPath += iLen - 1;
230 if (*lpszPath++ !=
_T(
'\\'))
232 *lpszPath++ =
_T(
'\\');
233 *lpszPath =
_T(
'\0');
ACPI_SIZE strlen(const char *String)
PVOID MemAlloc(IN DWORD dwFlags, IN SIZE_T dwBytes)
#define WideCharToMultiByte
#define MultiByteToWideChar
#define WC_COMPOSITECHECK
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
LPTSTR AppendPathSeparator(LPTSTR lpszPath)
LPTSTR FormatString(LPCTSTR str,...)
LPWSTR DuplicateStringWEx(LPCWSTR str, size_t numOfChars)
LPWSTR AnsiToUnicode(LPCSTR strA)
LPTSTR FormatStringV(LPCTSTR str, va_list args)
LPWSTR DuplicateStringW(LPCWSTR str)
LPSTR DuplicateStringAEx(LPCSTR str, size_t numOfChars)
LPSTR DuplicateStringA(LPCSTR str)
LPSTR UnicodeToAnsi(LPCWSTR strW)
LPTSTR FindSubStrI(LPCTSTR str, LPCTSTR strSearch)
STRSAFEAPI StringCchCopyW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszSrc)
STRSAFEAPI StringCchCopyA(STRSAFE_LPSTR pszDest, size_t cchDest, STRSAFE_LPCSTR pszSrc)
STRSAFEAPI StringCchCopyNW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszSrc, size_t cchToCopy)