Leaked source code of windows server 2003
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.

42 lines
1.5 KiB

  1. /* *********************************************************************
  2. * SRegAPI.h Header file for registry base api function prototypes
  3. * for Chicago SETUP only
  4. *
  5. * Microsoft Corporation
  6. * Copyright 1994
  7. *
  8. * Author: Nagarajan Subramaniyan
  9. * Created: 2/18/94
  10. *
  11. * Modification history:
  12. * **********************************************************************
  13. */
  14. #undef HKEY_CLASSES_ROOT
  15. #include <regapi.h> // Include the real mode stuff
  16. #ifndef _INC_WINDOWS
  17. LONG WINAPI RegOpenKey(HKEY, LPCSTR, LPHKEY);
  18. LONG WINAPI RegCreateKey(HKEY, LPCSTR, LPHKEY);
  19. LONG WINAPI RegCloseKey(HKEY);
  20. LONG WINAPI RegDeleteKey(HKEY, LPCSTR);
  21. LONG WINAPI RegSetValue(HKEY, LPCSTR, DWORD, LPCSTR, DWORD);
  22. LONG WINAPI RegQueryValue(HKEY, LPCSTR, LPSTR, LONG FAR*);
  23. LONG WINAPI RegEnumKey(HKEY, DWORD, LPSTR, DWORD);
  24. #endif
  25. #if !defined(_INC_WINDOWS ) || (WINVER < 0x0400)
  26. LONG WINAPI RegDeleteValue(HKEY, LPCSTR);
  27. LONG WINAPI RegEnumValue(HKEY, DWORD, LPCSTR,
  28. LONG FAR *, DWORD, LONG FAR *, LPBYTE,
  29. LONG FAR *);
  30. LONG WINAPI RegQueryValueEx(HKEY, LPCSTR, LONG FAR *, LONG FAR *,
  31. LPBYTE, LONG FAR *);
  32. LONG WINAPI RegSetValueEx(HKEY, LPCSTR, DWORD, DWORD, LPBYTE, DWORD);
  33. LONG WINAPI RegFlushKey(HKEY);
  34. LONG WINAPI RegSaveKey(HKEY, LPCSTR,LPVOID);
  35. LONG WINAPI RegLoadKey(HKEY, LPCSTR,LPCSTR);
  36. LONG WINAPI RegUnLoadKey(HKEY, LPCSTR);
  37. #endif // #if !defined(_INC_WINDOWS ) || (WINVER < 0x4000)