-
Notifications
You must be signed in to change notification settings - Fork 195
/
HashCheckOptions.h
46 lines (38 loc) · 1.32 KB
/
HashCheckOptions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/**
* HashCheck Shell Extension
* Copyright (C) Kai Liu. All rights reserved.
* Modified work copyright (C) 2014, 2016 Christopher Gurnee. All rights reserved.
*
* Please refer to readme.txt for information about this source code.
* Please refer to license.txt for details about distribution and modification.
**/
#ifndef __HASHCHECKOPTIONS_H__
#define __HASHCHECKOPTIONS_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <windows.h>
// Options struct
typedef struct {
DWORD dwFlags;
DWORD dwFilterIndex;
DWORD dwMenuDisplay;
DWORD dwSaveEncoding;
DWORD dwChecksums;
LOGFONT lfFont;
} HASHCHECKOPTIONS, *PHASHCHECKOPTIONS;
// Options flags
#define HCOF_FILTERINDEX 0x00000001 // The dwFilterIndex member is valid
#define HCOF_MENUDISPLAY 0x00000002 // The dwMenuDisplay member is valid
#define HCOF_SAVEENCODING 0x00000004 // The dwSaveEncoding member is valid
#define HCOF_FONT 0x00000008 // The lfFont member is valid
#define HCOF_CHECKSUMS 0x00000010 // The dwChecksums member is valid
#define HCOF_ALL 0x0000001F
// Public functions
VOID __fastcall OptionsDialog( HWND hWndOwner, PHASHCHECKOPTIONS popt );
VOID __fastcall OptionsLoad( PHASHCHECKOPTIONS popt );
VOID __fastcall OptionsSave( PHASHCHECKOPTIONS popt );
#ifdef __cplusplus
}
#endif
#endif