Xceed Zip for COM/ActiveX on x86/x64 Documentation
Direct DLL API / DLL API function reference / XzFree function
In This Topic
    XzFree function
    In This Topic

    Description

    Frees memory provided by an instance of the XceedZip or the XceedCompression object, or frees memory allocated with the XzAlloc function.

    When you handle the UnzippingMemoryFile event, you must free the pbUncompressedData parameter using XzFree when you no longer need access to it.

    When you call the XcCompress or XcUncompress functions, you must free the destination buffer with XzFree when you no longer need access to it.

    Declaration  

    void XzFree( BYTE* pcBuffer )

    Parameters

    Parameter Description
    pcBuffer  Pointer to a buffer previously created with XzAlloc or by an Xceed Zip or Xceed Compression instance.