mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
787 B
51 lines
787 B
//---------------------------------------------------------------------------
|
|
//
|
|
// 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
|
|
);
|
|
|
|
|