Bewerken

Delen via


wiauStrC2C function (wiautil.h)

The wiauStrC2C function copies an ANSI character string to another ANSI character string.

Syntax

HRESULT wiauStrC2C(
  [in]  CHAR *pszSrc,
  [out] CHAR *pszDst,
        INT  iSize
);

Parameters

[in] pszSrc

Points to the ANSI string to be copied.

[out] pszDst

Pointer to a memory location that receives the copied 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.

Requirements

Requirement Value
Target Platform Desktop
Header wiautil.h (include Wiautil.h)

See also

wiauStrC2W

wiauStrW2C

wiauStrW2W