Help Center
Help Center›AfxNova

AfxVariantToStringfunction

COMfunctionAfxVarProcs.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE FUNCTION AfxVariantToString (BYVAL pvarIn AS VARIANT PTR, BYVAL pwszBuf AS WSTRING PTR, BYVAL cchBuf AS UINT) AS HRESULT

Parameters

NameDescription
pvarIn[in] Reference to a source variant structure.
pwszBuf[in] Pointer to a buffer of length cchBuf bytes. When this function returns, contains the first cchBuf bytes of the extracted buffer value.
cchBuf[in] The size of the pwszBuf buffer, in bytes.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Reference

  • Include file AfxVarProcs.inc
  • Defined in AfxNova/AfxVarProcs.inc:104