Source code of Windows XP (NT5)
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.

29 lines
646 B

  1. #pragma once
  2. #include "autorun.h"
  3. #include "dataitem.h"
  4. #include "util.h"
  5. class CDataSource
  6. {
  7. public:
  8. CDataItem m_data[MAX_OPTIONS];
  9. int m_iItems;
  10. RELVER m_Version;
  11. CDataSource();
  12. ~CDataSource();
  13. BOOL Init(LPSTR pszCommandLine); // command line arguments from invocation of setup.exe, will be passed to winnt32.exe
  14. CDataItem & operator [] ( int i );
  15. void Invoke( int i, HWND hwnd );
  16. void Uninit( DWORD dwData );
  17. void ShowSplashScreen(HWND hwnd);
  18. protected:
  19. HWND m_hwndDlg;
  20. const int *m_piScreen; //pointer to array of menu items on the screen
  21. BOOL IsNec98();
  22. };