windows-nt/Source/XPSP1/NT/inetsrv/iis/admin/adsi/adsiis/sconv.hxx
2020-09-26 16:20:57 +08:00

52 lines
787 B
C++

//---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1996 - 1997
//
// File: sconv.hxx
//
// Contents: String manipulation routines
//
// History:
//
//----------------------------------------------------------------------------
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
);