-
Notifications
You must be signed in to change notification settings - Fork 0
/
getreginfo.h
69 lines (58 loc) · 3.55 KB
/
getreginfo.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*
* Thomas Pantzer: getreginfo.h, Version: v0.1a 15.01.2006 12:31
*
*
* Copyright 2006 by Thomas Pantzer
*
* Permission to use, copy, modify, and distribute this software for noncommercial
* use and without fee is hereby granted, provided that the above copyright notice
* appear in all copies and that both that copyright notice and this permission
* notice appear in supporting documentation, and that the name of the Author not be
* used in advertising or publicity pertaining to distribution of the software
* without specific, written prior permission. The Author makes no representations about
* the suitability of this software for any purpose. It is provided "as is"
* without expressed or implied warranty.
*
*
* pantec@dvorak.private.site (Thomas Pantzer,,,)
*
*/
//static char SCCS_ID [] = "@(#) getreginfo.h \main\4 @(#)";
/******************************************************************************/
/* */
/* FILE NAME : getreginfo.h */
/* VERSION : \main\4 */
/* */
/* FUNCTION : simple registry handling */
/* */
/* AUTHOR : Thomas Pantzer */
/* CREATION DATE : 13.11.2002 */
/* */
/*----------------------------------------------------------------------------*/
/* Copyright (C) Siemens AG 2001 */
/*----------------------------------------------------------------------------*/
/* HISTORY OF CHANGE */
/*----------------------------------------------------------------------------*/
/* VER| DATE | CHANGE | AUTHOR */
/*----------------------------------------------------------------------------*/
/* +++ \main +++ | */
/* 001|101201| | pan */
/* 001|131102| simple registry handling | pan */
/* 002|181102| remote registry lesen | pan */
/* 003|181102| ohne MFC | pan */
/* 004|191102| cleanup debugging directive | pan */
/* | | | */
/******************************************************************************/
#ifndef _GETREGINFO_H
#define _GETREGINFO_H
#include "win32_export.h"
TNS_UTIL_API bool getRegOption(char *cSubKey, char *cName, char *cValue);
TNS_UTIL_API bool getRegOption(char *cSubKey, char *cName, char *cValue, HKEY hkParent);
TNS_UTIL_API bool writeRegOption(char *cSubKey, char *cName, char *value);
TNS_UTIL_API bool writeRegOption(char *cSubKey, char *cName, char *cValue, HKEY hkParent);
TNS_UTIL_API bool writeRegOption(char *cSubKey, char *cName, DWORD dwValue, HKEY hkParent);
TNS_UTIL_API HRESULT getRegOption(wchar_t *subkey, wchar_t *name, wchar_t *value);
TNS_UTIL_API HRESULT getRegOption(wchar_t *wcSubKey, wchar_t *wcName, wchar_t *csValue, wchar_t *wcMachine);
//#undef DLL_EXPORT
//#undef DLL_CLASS
#endif