// wiautil.h
HRESULT wiauStrW2C(
[in] WCHAR *pwszSrc,
[out] CHAR *pszDst,
INT iSize
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiauStrW2C function converts a Unicode string to an ANSI character string.
pwszSrc [in]Points to the Unicode string to be converted.
pszDst [out]Pointer to a memory location that receives the converted ANSI string.
iSizeSpecifies the size, in bytes, of the buffer pointed to by pszDst.
On success, the function returns S_OK. If the function fails, it returns a standard COM error.