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.

32 lines
1.1 KiB

  1. //=--------------------------------------------------------------------------=
  2. // RegUnReg.H
  3. //=--------------------------------------------------------------------------=
  4. // Copyright 1995-1996 Microsoft Corporation. All Rights Reserved.
  5. //
  6. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  7. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  8. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  9. // PARTICULAR PURPOSE.
  10. //=--------------------------------------------------------------------------=
  11. //
  12. // contains utilities that we will find useful.
  13. //
  14. #ifndef _REGUNREG_H_
  15. //=--------------------------------------------------------------------------=
  16. // registry helpers.
  17. //
  18. // takes some information about an Automation Object, and places all the
  19. // relevant information about it in the registry.
  20. //
  21. BOOL RegisterUnknownObject(LPCTSTR pszObjectName, REFCLSID riidObject);
  22. BOOL UnregisterUnknownObject(REFCLSID riidObject);
  23. // deletes a key in the registr and all of it's subkeys
  24. //
  25. BOOL DeleteKeyAndSubKeys(HKEY hk, LPTSTR pszSubKey);
  26. #define _REGUNREG_H_
  27. #endif // _REGUNREG_H_
  28.