XLL+ Class Library

CXlSerialData::Detach

Detaches the current data from the object

[C++]
void Detach(
   void*& pvData,
   size_t& cbData
) const;

Parameters

pvData

Reference to a pointer to an array of bytes, of size cbData.

cbData

Reference to size of byte array.

Remarks

This function detaches the current contents. Unless the buffer is later attached to another object, it should be deallocated using the CXlSerialData::Destroy() static method.

Requirements

Header: xlserialize.h

See Also

CXlSerialData Class | CXlSerialData Methods