wiauStrW2C - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wiautil.h

HRESULT wiauStrW2C(
  [in]  WCHAR *pwszSrc,
  [out] CHAR  *pszDst,
        INT   iSize
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wiautil-wiaustrw2c)

wiauStrW2C function

Description

The wiauStrW2C function converts a Unicode string to an ANSI character string.

Parameters

pwszSrc [in]

Points to the Unicode string to be converted.

pszDst [out]

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.

See also

wiauStrC2C

wiauStrC2W

wiauStrW2W