Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 - Asset Console Creating an Access Definition File Guide


$DLLFREE (free DLL)

$DLLFREE terminates the use of DLL (frees DLL) that was loaded by the $DLLLOAD embedded function.

Organization of this page

Syntax

$DLLFREE(DLL-object)

Values

DLL interface to be used

The following shows the format of the function that is called by $DLLFREE:

void aim_free(void* object)

The $DLLFREE embedded function executes the aim_free function using the DLL object as its argument, and unloads the DLL upon completion of the execution. The aim_free function frees the shared memory and other resources that were used by the functions called by the aim_init function and the $DLLEXEC2 embedded function.

Status

The following table lists and describes the possible statuses:

Status

Description

NORMAL

Normal end

NODATA

ERROR

Script execution interrupted

Indicates one of the following:

  • The variable name of the specified DLL object is not the DLL object acquired by $DLLLOAD.

  • Argument error or other error

Legend:

—: Not applicable

Example

See the coding example in $DLLEXEC2 (execute DLL).