Source code of Windows XP (NT5)
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.

63 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1992-2001 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. static HMENU s_ContextMenu;
  22. CALLSWIN_DATA();
  23. virtual void Validate();
  24. virtual HRESULT ReadState(void);
  25. virtual void Copy();
  26. virtual HMENU GetContextMenu(void);
  27. virtual void OnContextMenuSelection(UINT Item);
  28. virtual BOOL CodeExprAtCaret(PSTR Expr, PULONG64 Offset);
  29. virtual HRESULT StackFrameAtCaret(PDEBUG_STACK_FRAME pFrame);
  30. virtual BOOL OnCreate(void);
  31. virtual LRESULT OnCommand(WPARAM wParam, LPARAM lParam);
  32. virtual LRESULT OnVKeyToItem(WPARAM wParam, LPARAM lParam);
  33. virtual void OnUpdate(UpdateType Type);
  34. virtual ULONG GetWorkspaceSize(void);
  35. virtual PUCHAR SetWorkspace(PUCHAR Data);
  36. virtual PUCHAR ApplyWorkspace1(PUCHAR Data, PUCHAR End);
  37. void SyncUiWithFlags(ULONG Changed);
  38. };
  39. typedef CALLSWIN_DATA *PCALLSWIN_DATA;
  40. #endif // #ifndef __CALLSWIN_H__