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.

67 lines
1.8 KiB

  1. //
  2. // Copyright 1997 - Microsoft
  3. //
  4. // CLIENT.H - Handles the "IntelliMirror" IDD_PROP_INTELLIMIRROR_CLIENT tab
  5. //
  6. #ifndef _IMOS_H_
  7. #define _IMOS_H_
  8. // Definitions
  9. LPVOID
  10. CIntelliMirrorOSTab_CreateInstance( void );
  11. class CComputer;
  12. typedef CComputer* LPCComputer;
  13. // CIntelliMirrorOSTab
  14. class
  15. CIntelliMirrorOSTab:
  16. public ITab
  17. {
  18. private:
  19. HWND _hDlg;
  20. LPUNKNOWN _punkService; // Pointer back to owner object
  21. BOOL _fAdmin;
  22. LPWSTR _pszDefault; // default OS
  23. LPWSTR _pszTimeout; // timeout string
  24. // "Add Wizard" flags
  25. BOOL _fAddSif:1;
  26. BOOL _fNewImage:1;
  27. BOOL _fRiPrep:1;
  28. HWND _hNotify; // DSA's notify object
  29. private: // Methods
  30. CIntelliMirrorOSTab();
  31. ~CIntelliMirrorOSTab();
  32. STDMETHOD(Init)();
  33. // Property Sheet Functions
  34. static INT_PTR CALLBACK
  35. PropSheetDlgProc( HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam );
  36. static UINT CALLBACK
  37. PropSheetPageProc( HWND hwnd, UINT uMsg, LPPROPSHEETPAGE ppsp );
  38. BOOL _InitDialog( HWND hDlg, LPARAM lParam );
  39. BOOL _OnCommand( WPARAM wParam, LPARAM lParam );
  40. INT _OnNotify( WPARAM wParam, LPARAM lParam );
  41. HRESULT _OnSelectionChanged( );
  42. public: // Methods
  43. friend LPVOID CIntelliMirrorOSTab_CreateInstance( void );
  44. // ITab
  45. STDMETHOD(AddPages)( LPFNADDPROPSHEETPAGE lpfnAddPage, LPARAM lParam, LPUNKNOWN punk );
  46. STDMETHOD(ReplacePage)( UINT uPageID, LPFNADDPROPSHEETPAGE lpfnReplaceWith,
  47. LPARAM lParam, LPUNKNOWN punk );
  48. STDMETHOD(QueryInformation)( LPWSTR pszAttribute, LPWSTR * pszResult );
  49. STDMETHOD(AllowActivation)( BOOL * pfAllow );
  50. };
  51. typedef CIntelliMirrorOSTab* LPCIntelliMirrorOSTab;
  52. #endif // _IMOS_H_