INtime SDK Help
FreeRtLibrary
INtime SDK v7.1 > About INtime > INtime Kernel > RSLs (real-time shared libraries) > FreeRtLibrary

Unloads a Real-time Shared Library module given its handle. When successfully unloaded, the operating system calls the module's RslMain entry function with a reason code of RSL_PROCESS_DETACH.

BOOLEAN FreeRtLibrary(
    RTHANDLE hModule
);

Parameters

hModule
Handle for the module to be unloaded.

Return Values

TRUE
Success.
FALSE
Failure. To determine the status, call GetLastRtError.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/rtbase.h rt.h rt.lib

See Also

iwin32 Overview, RslMain