IEmptyVolumeCache::Deactivate method

Notifies the handler that the disk cleanup manager is shutting down.

Syntax


HRESULT Deactivate(
  [out] DWORD *pdwFlags
);

Parameters

pdwFlags [out]

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 codeDescription
S_OK

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

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Emptyvc.h

DLL

Shell32.dll (version 5.0 or later)

 

 

Show: