BOOL FreeLibrary( HMODULE hLibModule // handle to loaded library module ); ParametershLibModuleIdentifies the loaded library module. The LoadLibrary or GetModuleHandle function returns this handle. Return ValuesIf the function succeeds, the return value is nonzero.If the function fails, the return value is zero. To get extended error information, call GetLastError. FreeLibrary并不会修改参数hLibModule的值,只要返回值不会0,则代表释放成功了