Source code of Windows XP (NT5)
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.

64 lines
1.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997.
  5. //
  6. // File: cnfgreg.hxx
  7. //
  8. // History: 09 Jul 1997 mohamedn Created
  9. //
  10. //--------------------------------------------------------------------------
  11. #pragma once
  12. typedef struct tagREGENTRIES
  13. {
  14. BOOL fExpand;
  15. WCHAR * strRegKey;
  16. WCHAR * strValueName;
  17. WCHAR * strValue;
  18. } REGENTRIES;
  19. typedef struct tagDWREGENTRIES
  20. {
  21. WCHAR * strRegKey;
  22. WCHAR * strValueName;
  23. DWORD dwValue;
  24. } DWREGENTRIES;
  25. #define MAX_REGENTRY_LEN 300
  26. HRESULT UnRegisterServer
  27. (
  28. const HKEY hKey,
  29. const ULONG cEntries,
  30. const REGENTRIES rgEntries[]
  31. );
  32. HRESULT UnRegisterServer
  33. (
  34. const HKEY hKey,
  35. const ULONG cEntries,
  36. const DWREGENTRIES rgEntries[]
  37. );
  38. HRESULT RegisterServer
  39. (
  40. const HKEY hKey,
  41. const ULONG cEntries,
  42. const REGENTRIES rgEntries[]
  43. );
  44. HRESULT RegisterServer
  45. (
  46. const HKEY hKey,
  47. const ULONG cEntries,
  48. const DWREGENTRIES rgEntries[]
  49. );
  50. IClassFactory * GetSimpleCommandCreatorCF();