forked from idrassi/HashCheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HashCheckUI.h
43 lines (32 loc) · 1.01 KB
/
HashCheckUI.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
/**
* HashCheck Shell Extension
* Copyright (C) Kai Liu. 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 __HASHCHECKUI_H__
#define __HASHCHECKUI_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <windows.h>
HANDLE __fastcall CreateThreadCRT( PVOID pThreadProc, PVOID pvParam );
// HashSave
VOID WINAPI HashSaveStart( HWND hWndOwner, HSIMPLELIST hListInput );
// HashProp
UINT CALLBACK HashPropCallback( HWND hWnd, UINT uMsg, LPPROPSHEETPAGE ppsp );
INT_PTR CALLBACK HashPropDlgProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
// HashVerify
DWORD WINAPI HashVerifyThread( PTSTR pszPath );
// Activation context functions
ULONG_PTR WINAPI ActivateManifest( BOOL bActivate );
__forceinline VOID WINAPI DeactivateManifest( ULONG_PTR uCookie )
{
if (uCookie)
DeactivateActCtx(0, uCookie);
}
#ifdef __cplusplus
}
#endif
#endif