IEmptyVolumeCache::Deactivate method (emptyvc.h)
Notifies the handler that the disk cleanup manager is shutting down.
Syntax
HRESULT Deactivate(
[out] DWORD *pdwFlags
);
Parameters
[out] pdwFlags
Type: DWORD*
A flag that can be set to return information to the disk cleanup manager. It can have the following value.
EVCF_REMOVEFROMLIST
If this flag is set, the disk cleanup manager will delete the handler's registry subkey.
Return value
Type: HRESULT
This method can return one of these values.
Return code | Description |
---|---|
|
This value should always be returned. |
Remarks
If the EVCF_REMOVEFROMLIST flag is set, the handler will not be run again unless the registry entries are reestablished. This flag is typically used for a handler that will only run once.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | emptyvc.h |
DLL | Shell32.dll (version 5.0 or later) |