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.

38 lines
645 B

  1. #ifndef __SETUPENUM_H_
  2. #define __SETUPENUM_H_
  3. class COCSetupApp
  4. {
  5. public:
  6. COCSetupApp();
  7. ~COCSetupApp();
  8. BOOL GetAppInfo(APPINFODATA *pai);
  9. BOOL ReadFromKey(HKEY hkey);
  10. BOOL Run();
  11. TCHAR _szDisplayName[MAX_PATH];
  12. protected:
  13. TCHAR _szApp[MAX_PATH];
  14. TCHAR _szArgs[MAX_PATH];
  15. };
  16. class COCSetupEnum
  17. {
  18. public:
  19. COCSetupEnum();
  20. ~COCSetupEnum();
  21. BOOL EnumOCSetupItems();
  22. BOOL Next(COCSetupApp **);
  23. static BOOL s_OCSetupNeeded();
  24. protected:
  25. HKEY _hkeyRoot;
  26. int _iRegEnumIndex; // used to walk through the items
  27. };
  28. #endif //__SETUPENUM_H_