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
S_OK
0x00000000L
There are no pending operations and the provider is ready to be released.
S_FALSE
0x00000001L
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

See also

IVssProviderNotifications

OnLoad