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.

86 lines
3.5 KiB

  1. /**INC+**********************************************************************/
  2. /* Header: tsdbg.h */
  3. /* */
  4. /* Purpose: CMsTscDebugger class declaration */
  5. /* implements IMsTscDebug */
  6. /* */
  7. /* Copyright(C) Microsoft Corporation 1999 */
  8. /* */
  9. /****************************************************************************/
  10. #ifndef _TSDBG_H_
  11. #define _TSDBG_H_
  12. #include "atlwarn.h"
  13. #include "wui.h"
  14. //Header generated from IDL
  15. #include "mstsax.h"
  16. #include "mstscax.h"
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CMsTscAx
  19. class ATL_NO_VTABLE CMsTscDebugger :
  20. public CComObjectRootEx<CComSingleThreadModel>,
  21. public IDispatchImpl<IMsTscDebug, &IID_IMsTscDebug, &LIBID_MSTSCLib>,
  22. public CComCoClass<CMsTscAx,&CLSID_MsRdpClient3>
  23. {
  24. public:
  25. /****************************************************************************/
  26. /* Constructor / Destructor. */
  27. /****************************************************************************/
  28. CMsTscDebugger();
  29. ~CMsTscDebugger();
  30. DECLARE_PROTECT_FINAL_CONSTRUCT();
  31. BEGIN_COM_MAP(CMsTscDebugger)
  32. COM_INTERFACE_ENTRY(IMsTscDebug)
  33. COM_INTERFACE_ENTRY(IDispatch)
  34. END_COM_MAP()
  35. public:
  36. //
  37. // Debugger properties
  38. //
  39. STDMETHOD(put_HatchBitmapPDU) (BOOL hatchBitmapPDU);
  40. STDMETHOD(get_HatchBitmapPDU) (BOOL* phatchBitmapPDU);
  41. STDMETHOD(put_HatchSSBOrder) (BOOL hatchSSBOrder);
  42. STDMETHOD(get_HatchSSBOrder) (BOOL* phatchSSBOrder);
  43. STDMETHOD(put_HatchMembltOrder) (BOOL hatchMembltOrder);
  44. STDMETHOD(get_HatchMembltOrder) (BOOL* phatchMembltOrder);
  45. STDMETHOD(put_HatchIndexPDU) (BOOL hatchIndexPDU);
  46. STDMETHOD(get_HatchIndexPDU) (BOOL* phatchIndexPDU);
  47. STDMETHOD(put_LabelMemblt) (BOOL labelMemblt);
  48. STDMETHOD(get_LabelMemblt) (BOOL* plabelMemblt);
  49. STDMETHOD(put_BitmapCacheMonitor) (BOOL bitmapCacheMonitor);
  50. STDMETHOD(get_BitmapCacheMonitor) (BOOL* pbitmapCacheMonitor);
  51. STDMETHOD(put_MallocFailuresPercent) (LONG mallocFailures);
  52. STDMETHOD(get_MallocFailuresPercent) (LONG* pmallocFailures);
  53. STDMETHOD(put_MallocHugeFailuresPercent) (LONG mallocHugeFailures);
  54. STDMETHOD(get_MallocHugeFailuresPercent) (LONG* pmallocHugeFailures);
  55. STDMETHOD(put_NetThroughput) (LONG netThroughput);
  56. STDMETHOD(get_NetThroughput) (LONG* pnetThroughput);
  57. STDMETHOD(put_CLXCmdLine) (BSTR CLXCmdLine);
  58. STDMETHOD(get_CLXCmdLine) (BSTR* pCLXCmdLine);
  59. STDMETHOD(put_CLXDll) (BSTR CLXDll);
  60. STDMETHOD(get_CLXDll) (BSTR* pCLXDll);
  61. public:
  62. BOOL SetUI(CUI* pUI);
  63. VOID SetInterfaceLockedForWrite(BOOL bLocked) {m_bLockedForWrite=bLocked;}
  64. BOOL GetLockedForWrite() {return m_bLockedForWrite;}
  65. private:
  66. CUI* m_pUI;
  67. //
  68. // Flag is set by the control when these properties can not be modified
  69. // e.g while connected. Any calls on these properties while locked
  70. // result in an E_FAIL being returned.
  71. //
  72. BOOL m_bLockedForWrite;
  73. };
  74. #endif //_TSDBG_H_