All Manuals > LispWorks COM/Automation User Guide and Reference Manual > 2 COM Reference Entries

NextPrevUpTopContentsIndex

co-task-mem-free

Function
Summary

Frees a block of foreign memory used in COM method argument passing.

Package

com

Signature

co-task-mem-free pointer => pointer2

Arguments

pointer

A foreign pointer for the block to be freed.

Values

pointer2

The same as pointer.

Description

The function co-task-mem-free calls the C function CoTaskMemFree() to free a block of memory. The pointer should not be dereferenced after calling this function.

Example
(co-task-mem-free ptr)
See also

co-task-mem-alloc


LispWorks COM/Automation User Guide and Reference Manual - 14 Feb 2015

NextPrevUpTopContentsIndex