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.

26 lines
998 B

  1. //-----------------------------------------------------------------------------
  2. // File: registry.h
  3. //
  4. // Desc: Contains COM register and unregister functions for the UI.
  5. //
  6. // Copyright (C) 1999-2000 Microsoft Corporation. All Rights Reserved.
  7. //-----------------------------------------------------------------------------
  8. #ifndef __Registry_H__
  9. #define __Registry_H__
  10. // This function will register a component in the Registry.
  11. // The component calls this function from its DllRegisterServer function.
  12. HRESULT RegisterServer(HMODULE hModule,
  13. const CLSID& clsid,
  14. LPCTSTR szFriendlyName,
  15. LPCTSTR szVerIndProgID,
  16. LPCTSTR szProgID) ;
  17. // This function will unregister a component. Components
  18. // call this function from their DllUnregisterServer function.
  19. HRESULT UnregisterServer(const CLSID& clsid,
  20. LPCTSTR szVerIndProgID,
  21. LPCTSTR szProgID) ;
  22. #endif