File:  [WindowsNT SDKs] / mstools / mssetup / include / msregdb.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:25:15 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-nov-1993, ntsdk-jul-1993, HEAD
Microsoft Windows NT Build 511 (SDK Final Release) 07-24-1993

#ifndef STF_LITE


#define REG_DB_ENABLED

#ifdef WIN16
#define REG_SZ                1
#define HKEY_CLASSES_ROOT     1
#define ERROR_SUCCESS         0
#endif

#define GRC_API_FAILED        104

extern int   APIENTRY EercErrorHandler(int grc, int fVital, LPSTR sz1,
				LPSTR sz2, LPSTR sz3);


extern BOOL  FInitRegDb(void);

#ifdef WIN16
extern LONG  APIENTRY RegOpenKey(LONG hKey, LPSTR szSubKey, LPSTR phkResult);
extern LONG  APIENTRY RegCreateKey(LONG hKey, LPSTR szSubKey,
				LPSTR phkResult);
extern LONG  APIENTRY RegDeleteKey(LONG hKey, LPSTR szSubKey);
extern LONG  APIENTRY RegCloseKey(LONG hKey);
extern LONG  APIENTRY RegQueryValue(LONG hKey, LPSTR szSubKey, LPSTR szValue,
				LPSTR lpcb);
extern LONG  APIENTRY RegSetValue(LONG hKey, LPSTR szSubKey, LONG dwType,
				LPSTR szValue, LONG cbValue);
extern LONG  APIENTRY RegEnumKey(LONG hKey, LONG dwIndex, LPSTR szBuffer,
				LONG dwBufferSize);
#endif


extern void  CreateRegKey(LPSTR szKey);
extern void  CreateRegKeyValue(LPSTR szKey, LPSTR szValue);
extern void  SetRegKeyValue(LPSTR szKey, LPSTR szValue);
extern void  DeleteRegKey(LPSTR szKey);
extern LPSTR GetRegKeyValue(LPSTR szKey, LPSTR zsBuf, int cbBuf);
extern int   DoesRegKeyExist(LPSTR szKey);


#ifdef WIN32
extern void   CreateRegKeyEx(HKEY hKey, LPCTSTR szKey);
extern void   CreateRegKeyValueEx(HKEY hKey, LPCTSTR szKey, LPTSTR szValueName, DWORD dwType, LPBYTE lpValueData, DWORD dwDataLen);
extern void   SetRegKeyValueEx(HKEY hKey, LPCTSTR szKey, LPTSTR szValueName, DWORD dwType, LPBYTE szValueData, DWORD dwDataLen);
extern void   DeleteRegKeyEx(HKEY hKey, LPCTSTR szKey);
extern LONG   GetRegKeyValueEx(HKEY hKey, LPCTSTR szKey, LPTSTR szValueName, LPDWORD lpdwType, LPBYTE lpBuf, DWORD cbBuf);
extern int    DoesRegKeyExistEx(HKEY hKey, LPCTSTR szKey);
extern BOOL   DeleteAllSubKeys(HKEY hKey, LPCTSTR szKey);

extern LONG  APIENTRY RegOpenKey(HKEY hKey, LPCTSTR szSubKey, PHKEY phkResult);
extern LONG  APIENTRY RegCreateKey(HKEY hKey, LPCTSTR szSubKey,
				PHKEY phkResult);
extern LONG  APIENTRY RegDeleteKey(HKEY hKey, LPCTSTR szSubKey);
extern LONG  APIENTRY RegCloseKey(HKEY hKey);
extern LONG  APIENTRY RegQueryValue(HKEY hKey, LPCTSTR szSubKey, LPTSTR szValue,
				PLONG lpcb);
extern LONG  APIENTRY RegSetValue(HKEY hKey, LPCTSTR szSubKey, DWORD dwType,
				LPCTSTR szValue, DWORD cbValue);
extern LONG  APIENTRY RegEnumKey(HKEY hKey, DWORD dwIndex, LPTSTR szBuffer,
				DWORD dwBufferSize);

#endif
#endif  /* !STF_LITE */



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.