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.

34 lines
1.5 KiB

  1. #include "icwacct.h"
  2. extern UINT g_uExternUIPrev, g_uExternUINext;
  3. extern IICWExtension *g_pExternalIICWExtension;
  4. extern BOOL g_fConnectionInfoValid;
  5. class CICWApprentice : public IICWApprentice, public IICWApprenticeEx
  6. {
  7. public:
  8. virtual HRESULT STDMETHODCALLTYPE Initialize (IICWExtension *pExt);
  9. virtual HRESULT STDMETHODCALLTYPE AddWizardPages (DWORD dwFlags);
  10. virtual HRESULT STDMETHODCALLTYPE GetConnectionInformation (CONNECTINFO *pInfo);
  11. virtual HRESULT STDMETHODCALLTYPE SetConnectionInformation (CONNECTINFO *pInfo);
  12. virtual HRESULT STDMETHODCALLTYPE Save (HWND hwnd, DWORD *pdwError);
  13. virtual HRESULT STDMETHODCALLTYPE SetDlgHwnd (HWND hDlg);
  14. virtual HRESULT STDMETHODCALLTYPE SetPrevNextPage (UINT uPrevPageDlgID, UINT uNextPageDlgID);
  15. virtual HRESULT STDMETHODCALLTYPE ProcessCustomFlags (DWORD dwFlags);
  16. virtual HRESULT STDMETHODCALLTYPE SetStateDataFromExeToDll (LPCMNSTATEDATA lpData);
  17. virtual HRESULT STDMETHODCALLTYPE SetStateDataFromDllToExe (LPCMNSTATEDATA lpData);
  18. virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID theGUID, void** retPtr);
  19. virtual ULONG STDMETHODCALLTYPE AddRef (void);
  20. virtual ULONG STDMETHODCALLTYPE Release (void);
  21. CICWApprentice (void);
  22. ~CICWApprentice (void);
  23. IICWExtension *m_pIICWExt;
  24. private:
  25. LONG m_lRefCount;
  26. HWND m_hwndDlg;
  27. };