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.

21 lines
799 B

  1. #ifndef __Registry_H__
  2. #define __Registry_H__
  3. //
  4. // Registry.h
  5. // - Helper functions registering and unregistering a component.
  6. //
  7. // This function will register a component in the Registry.
  8. // The component calls this function from its DllRegisterServer function.
  9. HRESULT RegisterServer(HMODULE hModule,
  10. const CLSID& clsid,
  11. const char* szFriendlyName,
  12. const char* szVerIndProgID,
  13. const char* szProgID) ;
  14. // This function will unregister a component. Components
  15. // call this function from their DllUnregisterServer function.
  16. HRESULT UnregisterServer(const CLSID& clsid,
  17. const char* szVerIndProgID,
  18. const char* szProgID) ;
  19. #endif