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.

68 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1992-2002 Microsoft Corporation
  3. Module Name:
  4. callswin.h
  5. Abstract:
  6. This module contains the main line code for display of calls window.
  7. Environment:
  8. Win32, User Mode
  9. --*/
  10. #ifndef __CALLSWIN_H__
  11. #define __CALLSWIN_H__
  12. #define MAX_FRAMES 1000
  13. class CALLSWIN_DATA : public SINGLE_CHILDWIN_DATA
  14. {
  15. public:
  16. ULONG m_Flags;
  17. ULONG m_Frames;
  18. // Set in ReadState.
  19. ULONG m_FramesFound;
  20. ULONG m_TextOffset;
  21. ULONG m_WarningLine;
  22. static HMENU s_ContextMenu;
  23. CALLSWIN_DATA();
  24. virtual void Validate();
  25. virtual HRESULT ReadState(void);
  26. virtual void Copy();
  27. virtual BOOL CanWriteTextToFile(void);
  28. virtual HRESULT WriteTextToFile(HANDLE File);
  29. virtual HMENU GetContextMenu(void);
  30. virtual void OnContextMenuSelection(UINT Item);
  31. virtual HRESULT CodeExprAtCaret(PSTR Expr, PULONG64 Offset);
  32. virtual HRESULT StackFrameAtCaret(PDEBUG_STACK_FRAME pFrame);
  33. virtual BOOL OnCreate(void);
  34. virtual LRESULT OnCommand(WPARAM wParam, LPARAM lParam);
  35. virtual LRESULT OnVKeyToItem(WPARAM wParam, LPARAM lParam);
  36. virtual void OnUpdate(UpdateType Type);
  37. virtual ULONG GetWorkspaceSize(void);
  38. virtual PUCHAR SetWorkspace(PUCHAR Data);
  39. virtual PUCHAR ApplyWorkspace1(PUCHAR Data, PUCHAR End);
  40. void SyncUiWithFlags(ULONG Changed);
  41. ULONG SelectionToFrame(void);
  42. };
  43. typedef CALLSWIN_DATA *PCALLSWIN_DATA;
  44. #endif // #ifndef __CALLSWIN_H__