mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.3 KiB
56 lines
1.3 KiB
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// REGISTRY.H
|
|
//
|
|
// Pacific Access Confidential
|
|
// Copyright (c) Pacific Access Communications Corporation 1998
|
|
// All rights reserved
|
|
//
|
|
// Registry function prototypes for the application.
|
|
//
|
|
// 4/98 - Jason Cohen (JCOHEN)
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
#ifndef _REGISTRY_H_
|
|
#define _REGISTRY_H_
|
|
|
|
|
|
//
|
|
// Defined root keys.
|
|
//
|
|
|
|
#define HKCR HKEY_CLASSES_ROOT
|
|
#define HKCU HKEY_CURRENT_USER
|
|
#define HKLM HKEY_LOCAL_MACHINE
|
|
#define HKU HKEY_USERS
|
|
|
|
|
|
|
|
//
|
|
// Type definitions.
|
|
//
|
|
|
|
typedef BOOL (CALLBACK * REGENUMKEYPROC) (HKEY, LPTSTR, LPARAM);
|
|
typedef BOOL (CALLBACK * REGENUMVALPROC) (LPTSTR, LPTSTR, LPARAM);
|
|
|
|
|
|
//
|
|
// External function prototypes.
|
|
//
|
|
|
|
BOOL RegExists(HKEY, LPTSTR, LPTSTR);
|
|
BOOL RegDelete(HKEY, LPTSTR, LPTSTR);
|
|
LPTSTR RegGetString(HKEY, LPTSTR, LPTSTR);
|
|
LPVOID RegGetBin(HKEY, LPTSTR, LPTSTR);
|
|
DWORD RegGetDword(HKEY, LPTSTR, LPTSTR);
|
|
BOOL RegSetString(HKEY, LPTSTR, LPTSTR, LPTSTR);
|
|
BOOL RegSetDword(HKEY, LPTSTR, LPTSTR, DWORD);
|
|
BOOL RegCheck(HKEY, LPTSTR, LPTSTR);
|
|
BOOL RegEnumKeys(HKEY, LPTSTR, REGENUMKEYPROC, LPARAM, BOOL);
|
|
BOOL RegEnumValues(HKEY, LPTSTR, REGENUMVALPROC, LPARAM, BOOL);
|
|
|
|
|
|
#endif // _REGISTRY_H_
|