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.

36 lines
712 B

  1. #pragma once
  2. //
  3. // Per BryanT, either do not use #import, or checkin what it produces.
  4. //
  5. //#pragma warning(disable:4192) // automatically excluding 'IErrorInfo' while importing type library 'msxml3.dll'
  6. //#import "msxml3.dll"
  7. #include "msxml3.tlh"
  8. namespace F
  9. {
  10. class CRegKey2;
  11. class CRegToXml
  12. {
  13. public:
  14. void ThrRegToXml();
  15. int argc;
  16. PWSTR* argv;
  17. protected:
  18. void Usage();
  19. MSXML2::IXMLDOMDocumentPtr Document;
  20. F::CStringBuffer ValueDataTextBuffer;
  21. void ThrDumpKey(ULONG Depth, MSXML2::IXMLDOMNodePtr ParentNode, HKEY Key, PCWSTR Name);
  22. void ThrDumpBuiltinRoot(HKEY PseudoHandle, PCWSTR Name);
  23. void ThrDumpBuiltinRoots();
  24. };
  25. }