Unloads a library loaded with
#include <prlink.h> PRStatus PR_UnloadLibrary(PRLibrary *lib);
The function has this parameter:
- A reference previously returned from
The function returns one of the following values:
- If successful,
- If unsuccessful,
PR_GetErrorto find the reason for the failure.
This function undoes the effect of a
PR_LoadLibrary. After calling this function, future references to the library using its identity as returned by
PR_LoadLibrary will be invalid.