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.

35 lines
1.1 KiB

  1. #include "icwacct.h"
  2. extern UINT g_uAcctMgrUIFirst, g_uAcctMgrUILast;
  3. #ifndef EXTERNAL_DIALOGID_MAXIMUM
  4. #define EXTERNAL_DIALOGID_MAXIMUM 3000
  5. #endif
  6. #ifndef EXTERNAL_DIALOGID_MINIMUM
  7. #define EXTERNAL_DIALOGID_MINIMUM 2000
  8. #endif
  9. class CICWExtension : public IICWExtension
  10. {
  11. public:
  12. virtual BOOL STDMETHODCALLTYPE AddExternalPage(HPROPSHEETPAGE hPage, UINT uDlgID);
  13. virtual BOOL STDMETHODCALLTYPE RemoveExternalPage(HPROPSHEETPAGE hPage, UINT uDlgID);
  14. virtual BOOL STDMETHODCALLTYPE ExternalCancel(CANCELTYPE type);
  15. virtual BOOL STDMETHODCALLTYPE SetFirstLastPage(UINT uFirstPageDlgID, UINT uLastPageDlgID);
  16. virtual HRESULT STDMETHODCALLTYPE QueryInterface( REFIID theGUID, void** retPtr );
  17. virtual ULONG STDMETHODCALLTYPE AddRef( void );
  18. virtual ULONG STDMETHODCALLTYPE Release( void );
  19. CICWExtension( void );
  20. ~CICWExtension( void );
  21. HWND m_hWizardHWND;
  22. private:
  23. LONG m_lRefCount;
  24. };
  25. // This _has_ to be a pointer -- if you just instantiate directly, the compiler doesn't
  26. // correctly fill in the vtable, and thus it can't be treated as an IICWExtension pointer.
  27. extern CICWExtension *g_pCICWExtension;