forked from gurnec/HashCheck
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathRegHelpers.h
More file actions
30 lines (24 loc) · 739 Bytes
/
RegHelpers.h
File metadata and controls
30 lines (24 loc) · 739 Bytes
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
/**
* Registry Helper Functions
* 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 __REGHELPERS_H__
#define __REGHELPERS_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <windows.h>
#include <shlwapi.h>
HKEY WINAPI RegOpen( HKEY, LPCTSTR, LPCTSTR, BOOL );
BOOL WINAPI RegDelete( HKEY, LPCTSTR, LPCTSTR );
BOOL WINAPI RegSetSZ( HKEY, LPCTSTR, LPCTSTR );
BOOL WINAPI RegSetDW( HKEY, LPCTSTR, DWORD );
BOOL WINAPI RegGetSZ( HKEY, LPCTSTR, LPTSTR, DWORD );
BOOL WINAPI RegGetDW( HKEY, LPCTSTR, LPDWORD );
#ifdef __cplusplus
}
#endif
#endif