XLL+ Class Library (7.0)

CXlMarshaledData::Destroy

Deallocates memory for a byte stream

static void Destroy(
   void* pvData,
   size_t cbData
) const;

Parameters

pvData

A pointer to an array of bytes, of size cbData, which was allocated using Alloc().

cbData

Number of bytes in buffer.

Return Value

This static function deallocates memory used for a byte stream. This deallocator should be used for any memory that has been detached from an object using the Detach() method.

Requirements

Header: xlmarshal.h

See Also

CXlMarshaledData Class | CXlMarshaledData Methods