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.

27 lines
613 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. void SetWindow(HWND hwnd);
  15. CDataItem & operator [] ( int i );
  16. void Invoke( int i, HWND hwnd );
  17. protected:
  18. HWND m_hwndDlg;
  19. const int *m_piScreen; //pointer to array of menu items on the screen
  20. };