44 *ppszW = HEAP_alloc ( (
len+1) *
sizeof(
WCHAR) );
62 PWSTR pszW = (
size < cchStaticBuff) ? pszStaticBuff : HEAP_alloc(
size *
sizeof(
WCHAR));
ACPI_SIZE strlen(const char *String)
int WINAPI lstrlenA(LPCSTR lpString)
_Use_decl_annotations_ NTSTATUS NTAPI RtlMultiByteToUnicodeN(_Out_ PWCH UnicodeString, _In_ ULONG UnicodeSize, _Out_opt_ PULONG ResultSize, _In_ PCCH MbString, _In_ ULONG MbSize)
PWSTR FASTCALL HEAP_strdupA2W_buf(_In_ PCSTR lpszA, _In_ PWSTR pszStaticBuff, _In_ SIZE_T cchStaticBuff)
NTSTATUS FASTCALL HEAP_strdupA2W(_Outptr_ PWSTR *ppszW, _In_ PCSTR lpszA)