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.

65 lines
1.1 KiB

  1. /* reg.h */
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5. /*********************************/
  6. /* Definitions */
  7. /*********************************/
  8. /*********************************/
  9. /* Structure Definitions */
  10. /*********************************/
  11. /*********************************/
  12. /* Function Definitions */
  13. /*********************************/
  14. extern DWORD
  15. OpenUserKeyGroup(
  16. Context_t *pContext,
  17. LPSTR szUserName,
  18. DWORD dwFlags);
  19. extern DWORD
  20. openKeyGroup(
  21. IN OUT Context_t *pContext);
  22. extern DWORD
  23. closeKeyGroup(
  24. IN Context_t *pContext);
  25. // Delete the user group
  26. extern DWORD
  27. DeleteOldKeyGroup(
  28. IN Context_t *pContext,
  29. IN BOOL fMigration);
  30. extern DWORD
  31. DeleteKeyGroup(
  32. IN Context_t *pContext);
  33. extern DWORD
  34. readKey(
  35. HKEY hLoc,
  36. char *pszName,
  37. BYTE **Data,
  38. DWORD *pcbLen);
  39. extern DWORD
  40. saveKey(
  41. HKEY hLoc,
  42. CONST char *pszName,
  43. void *Data,
  44. DWORD dwLen);
  45. extern void
  46. CheckKeySetType(
  47. Context_t *pContext);
  48. #ifdef __cplusplus
  49. }
  50. #endif