Bewerken

Delen via


wiauStrW2W function (wiautil.h)

The wiauStrW2W function copies a Unicode string to another Unicode string.

Syntax

HRESULT wiauStrW2W(
  [in]  WCHAR *pwszSrc,
  [out] WCHAR *pwszDst,
        INT   iSize
);

Parameters

[in] pwszSrc

Points to the Unicode string to be copied.

[out] pwszDst

Pointer to a memory location that receives the copied string.

iSize

Specifies the size, in bytes, of the buffer pointed to by pwszDst.

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

wiauStrC2C

wiauStrC2W

wiauStrW2C