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

/*++
Copyright (c) 1992-2002 Microsoft Corporation
Module Name:
callswin.h
Abstract:
This module contains the main line code for display of calls window.
Environment:
Win32, User Mode
--*/
#ifndef __CALLSWIN_H__
#define __CALLSWIN_H__
#define MAX_FRAMES 1000
class CALLSWIN_DATA : public SINGLE_CHILDWIN_DATA
{
public:
ULONG m_Flags;
ULONG m_Frames;
// Set in ReadState.
ULONG m_FramesFound;
ULONG m_TextOffset;
ULONG m_WarningLine;
static HMENU s_ContextMenu;
CALLSWIN_DATA();
virtual void Validate();
virtual HRESULT ReadState(void);
virtual void Copy();
virtual BOOL CanWriteTextToFile(void);
virtual HRESULT WriteTextToFile(HANDLE File);
virtual HMENU GetContextMenu(void);
virtual void OnContextMenuSelection(UINT Item);
virtual HRESULT CodeExprAtCaret(PSTR Expr, PULONG64 Offset);
virtual HRESULT StackFrameAtCaret(PDEBUG_STACK_FRAME pFrame);
virtual BOOL OnCreate(void);
virtual LRESULT OnCommand(WPARAM wParam, LPARAM lParam);
virtual LRESULT OnVKeyToItem(WPARAM wParam, LPARAM lParam);
virtual void OnUpdate(UpdateType Type);
virtual ULONG GetWorkspaceSize(void);
virtual PUCHAR SetWorkspace(PUCHAR Data);
virtual PUCHAR ApplyWorkspace1(PUCHAR Data, PUCHAR End);
void SyncUiWithFlags(ULONG Changed);
ULONG SelectionToFrame(void);
};
typedef CALLSWIN_DATA *PCALLSWIN_DATA;
#endif // #ifndef __CALLSWIN_H__