// wiautil.h
HRESULT wiauStrC2W(
[in] CHAR *pszSrc,
[out] WCHAR *pwszDst,
INT iSize
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiauStrC2W function converts an ANSI character string to a Unicode string.
pszSrc [in]Points to the ANSI string to convert.
pwszDst [out]Pointer to a memory location that receives the converted Unicode string.
iSizeSpecifies 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.