wiauStrC2W function (wiautil.h)
The wiauStrC2W function converts an ANSI character string to a Unicode string.
HRESULT wiauStrC2W(
[in] CHAR *pszSrc,
[out] WCHAR *pwszDst,
INT iSize
);
[in] pszSrc
Points to the ANSI string to convert.
[out] pwszDst
Pointer to a memory location that receives the converted Unicode string.
iSize
Specifies the size, in bytes, of the buffer pointed to by pwszDst.
On success, the function returns S_OK. If the function fails, it returns a standard COM error.
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wiautil.h (include Wiautil.h) |