Cicode Programming Reference > Cicode Function Categories > DLL Functions Introduction > DLLClose

DLLClose

Closes the link to a DLL function, and frees the memory allocated for that function link. When the link is closed, you cannot call the function. CitectSCADA automatically closes all function links at shutdown.

Syntax

DLLClose(hFunction)

hFunction:

The DLL function handle, returned from DLLOpen().

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

DLLOpen, DLLCall

Example

See DLLOpen

See Also

DLL Functions