Help Center
Help Center›AfxNova

AfxVariantToStringAllocfunction

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 AfxVariantToStringAlloc (BYVAL pvarIn AS VARIANT PTR, BYVAL ppwszBuf AS WSTRING PTR PTR) AS HRESULT

Parameters

NameDescription
pvarIn[in] Reference to a source variant structure.
ppwszBuf[out] Pointer to a buffer that contains the extracted string exists.

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:137