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.

99 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. win95reg.h
  5. Abstract:
  6. Contains some thunking for Unicode Registry APIs (Local Calls only)
  7. Author:
  8. Danilo Almeida (t-danal) 07-01-96
  9. Revision History:
  10. --*/
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. #ifdef _WINREG_
  15. #ifndef __WIN95REG__
  16. #define __WIN95REG__
  17. #define RegOpenKeyExW Win95RegOpenKeyExW
  18. #define RegQueryValueExW Win95RegQueryValueExW
  19. #define RegSetValueExW Win95RegSetValueExW
  20. #define RegEnumKeyExW Win95RegEnumKeyExW
  21. #define RegCreateKeyExW Win95RegCreateKeyExW
  22. LONG
  23. APIENTRY
  24. RegOpenKeyExW (
  25. HKEY hKey,
  26. LPCWSTR lpSubKey,
  27. DWORD ulOptions,
  28. REGSAM samDesired,
  29. PHKEY phkResult
  30. );
  31. LONG
  32. APIENTRY
  33. RegQueryValueExW (
  34. HKEY hKey,
  35. LPCWSTR lpValueName,
  36. LPDWORD lpReserved,
  37. LPDWORD lpType,
  38. LPBYTE lpData,
  39. LPDWORD lpcbData
  40. );
  41. LONG
  42. APIENTRY
  43. RegSetValueExW (
  44. HKEY hKey,
  45. LPCWSTR lpValueName,
  46. DWORD Reserved,
  47. DWORD dwType,
  48. CONST BYTE* lpData,
  49. DWORD cbData
  50. );
  51. LONG
  52. APIENTRY
  53. RegEnumKeyExW (
  54. HKEY hKey,
  55. DWORD dwIndex,
  56. LPWSTR lpName,
  57. LPDWORD lpcbName,
  58. LPDWORD lpReserved,
  59. LPWSTR lpClass,
  60. LPDWORD lpcbClass,
  61. PFILETIME lpftLastWriteTime
  62. );
  63. LONG
  64. APIENTRY
  65. RegCreateKeyExW (
  66. HKEY hKey,
  67. LPCWSTR lpSubKey,
  68. DWORD Reserved,
  69. LPWSTR lpClass,
  70. DWORD dwOptions,
  71. REGSAM samDesired,
  72. LPSECURITY_ATTRIBUTES lpSecurityAttributes,
  73. PHKEY phkResult,
  74. LPDWORD lpdwDisposition
  75. );
  76. #endif // __WIN95REG__
  77. #endif // _WINREG_
  78. #ifdef __cplusplus
  79. }
  80. #endif