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.

22 lines
850 B

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