IVssProviderNotifications::OnUnload method (vsprov.h)
The OnUnload method notifies the provider to prepare to be unloaded.
Syntax
HRESULT OnUnload(
[in] BOOL bForceUnload
);
Parameters
[in] bForceUnload
If TRUE, the provider must prepare to be released.
Return value
This method can return one of these values.
| Return code/value | Description |
|---|---|
|
There are no pending operations and the provider is ready to be released. |
|
The provider should not be unloaded. This value can only be returned if bForceUnload is FALSE. |
Remarks
If bForceUnload is TRUE, the return value must be S_OK.
Requirements
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | vsprov.h |