DosFreeModule frees the reference to the dynamic link module for this process.
If the dynamic link module is no longer used by any process, the module is freed from system memory.
The module identified by the handle must have been loaded using DosLoadModule. If the handle is invalid, an error is returned.
After this function has completed, the module handle is no longer valid, and may not be used to refer to the dynamic link module. Procedure entry addresses returned for this module are also no longer valid, and will cause a protection fault if they are invoked.