wiauStrW2C function (wiautil.h)
The wiauStrW2C function converts a Unicode string to an ANSI character string.
Syntax
HRESULT wiauStrW2C(
[in] WCHAR *pwszSrc,
[out] CHAR *pszDst,
INT iSize
);
Parameters
[in] pwszSrc
Points to the Unicode string to be converted.
[out] pszDst
Pointer to a memory location that receives the converted ANSI string.
iSize
Specifies the size, in bytes, of the buffer pointed to by pszDst.
Return value
On success, the function returns S_OK. If the function fails, it returns a standard COM error.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wiautil.h (include Wiautil.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for