Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Call this function to convert a Unicode string to UTF-8.
ATL_NOINLINE inline int AtlUnicodeToUTF8(
LPCWSTR wszSrc,
int nSrc,
LPSTR szDest,
int nDest
) throw( );
Parameters
wszSrc
The Unicode string to be convertednSrc
The length in characters of the Unicode string.szDest
Caller-allocated buffer to receive the converted string.nDest
The length in bytes of the buffer.
Return Value
Returns the number of characters for the converted string.
Remarks
To determine the size of the buffer required for the converted string, call this function passing 0 for szDest and nDest.
Requirements
Header: atlenc.h