UnloadCode

Unloads a binary image previously loaded with LoadCode().

Synopsis

Err UnloadCode(CodeHandle code);

Description

This function frees any resources allocated by LoadCode(). Once UnloadCode() has been called, the code handle supplied becomes invalid and cannot be used again.

Arguments

code
A code handle filled in by a previous call to LoadCode().

Return Value

Returns > = 0 if successful, or a negative error code of the CodeHandle supplied is somehow invalid.

Implementation

Folio call Implemented in file folio V21.

Associated Files

filefunctions.h

See Also

LoadCode()