Method CanUnloadNow
CanUnloadNow(IntPtr)
Determines if the module is no longer in use
int CanUnloadNow(IntPtr moduleHandle)
Parameters
moduleHandle
IntPtrA module handle that was provided via the ILibraryProvider
Returns
- int
HResults.S_OK if the module can be unloaded, HResults.S_FALSE if it is in use or an appropriate error hresult otherwise