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.

34 lines
1.2 KiB

  1. #pragma once
  2. #define MAKERESOURCEINT(i) (WORD)((DWORD_PTR)((LPSTR)(i)))
  3. class CGenericFinishPage;
  4. class CGenericFinishPage
  5. {
  6. typedef map<DWORD, CGenericFinishPage*> IDDLIST;
  7. private:
  8. DWORD m_dwMyIDD;
  9. HFONT m_hBoldFont;
  10. BOOL OnCGenericFinishPagePageNext(HWND hwndDlg);
  11. BOOL OnCGenericFinishPagePageBack(HWND hwndDlg);
  12. BOOL OnCGenericFinishPagePageActivate(HWND hwndDlg);
  13. BOOL OnCGenericFinishPageInitDialog(HWND hwndDlg, LPARAM lParam);
  14. BOOL CGenericFinishPagePageOnClick(HWND hwndDlg, UINT idFrom);
  15. static IDDLIST m_dwIddList;
  16. static HRESULT GetCGenericFinishPageFromHWND(HWND hwndDlg, CGenericFinishPage **pCGenericFinishPage);
  17. static HRESULT GetCGenericFinishPageFromIDD(DWORD idd, CGenericFinishPage **pCGenericFinishPage);
  18. static INT_PTR CALLBACK dlgprocCGenericFinishPage( HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam );
  19. static VOID CALLBACK CGenericFinishPagePageCleanup(CWizard *pWizard, LPARAM lParam);
  20. public:
  21. static HRESULT HrCreateCGenericFinishPagePage(DWORD idd, CWizard *pWizard, PINTERNAL_SETUP_DATA pData, BOOL fCountOnly, UINT *pnPages);
  22. static VOID AppendCGenericFinishPagePage(DWORD idd, CWizard *pWizard, HPROPSHEETPAGE* pahpsp, UINT *pcPages);
  23. };