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.

38 lines
883 B

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996 - 1999
  5. //
  6. // File: regd.h
  7. //
  8. // Contents: Helper functions registering and unregistering a component.
  9. //
  10. // History: July-97 xtan created
  11. //
  12. //---------------------------------------------------------------------------
  13. #ifndef __Regd_H__
  14. #define __Regd_H__
  15. // This function will register a component in the Registry.
  16. HRESULT
  17. RegisterDcomServer(
  18. const CLSID& clsid,
  19. const WCHAR *szFriendlyName,
  20. const WCHAR *szVerIndProgID,
  21. const WCHAR *szProgID);
  22. // This function will unregister a component
  23. HRESULT
  24. UnregisterDcomServer(
  25. const CLSID& clsid,
  26. const WCHAR *szVerIndProgID,
  27. const WCHAR *szProgID);
  28. HRESULT
  29. RegisterDcomApp(
  30. const CLSID& clsid);
  31. VOID
  32. UnregisterDcomApp(VOID);
  33. #endif