ReactOS 0.4.16-dev-963-g182f353
CCleanupHandler.hpp
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS Disk Cleanup
3 * LICENSE: MIT (https://spdx.org/licenses/MIT)
4 * PURPOSE: CCleanupHandler definition
5 * COPYRIGHT: Copyright 2023-2025 Mark Jansen <mark.jansen@reactos.org>
6 */
7
8#define HANDLER_STATE_SELECTED 1
9
10
12{
13 CCleanupHandler(CRegKey &subKey, const CStringW &keyName, const GUID &guid);
15
16 void Deactivate();
17
18 bool
19 Initialize(LPCWSTR pcwszVolume);
20
21 void
22 ReadProperty(LPCWSTR Name, IPropertyBag *pBag, CComHeapPtr<WCHAR> &storage);
23
24 BOOL
25 HasSettings() const;
26
27 BOOL
28 DontShowIfZero() const;
29
30 CRegKey hSubKey;
31 CStringW KeyName;
33
34 CComHeapPtr<WCHAR> wszDisplayName;
35 CComHeapPtr<WCHAR> wszDescription;
36 CComHeapPtr<WCHAR> wszBtnText;
37
38 CStringW IconPath;
42
43 CComPtr<IEmptyVolumeCache> Handler;
47};
48
LPWSTR Name
Definition: desk.c:124
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned long long DWORDLONG
Definition: intsafe.h:93
const GUID * guid
static HICON
Definition: imagelist.c:80
void ReadProperty(LPCWSTR Name, IPropertyBag *pBag, CComHeapPtr< WCHAR > &storage)
BOOL DontShowIfZero() const
CComHeapPtr< WCHAR > wszBtnText
CComPtr< IEmptyVolumeCache > Handler
BOOL HasSettings() const
CComHeapPtr< WCHAR > wszDescription
CComHeapPtr< WCHAR > wszDisplayName
static void Initialize()
Definition: xlate.c:212
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185