windows-nt/Source/XPSP1/NT/ds/adsi/include/sconv.hxx

40 lines
458 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
int
AnsiToUnicodeString(
LPSTR pAnsi,
LPWSTR pUnicode,
DWORD StringLength
);
int
UnicodeToAnsiString(
LPWSTR pUnicode,
LPSTR pAnsi,
DWORD StringLength
);
LPWSTR
AllocateUnicodeString(
LPSTR pAnsiString
);
void
FreeUnicodeString(
LPWSTR pUnicodeString
);
DWORD
ComputeMaxStrlenW(
LPWSTR pString,
DWORD cchBufMax
);
DWORD
ComputeMaxStrlenA(
LPSTR pString,
DWORD cchBufMax
);