#include "precomp.h"
#include <wdbgexts.h>
Go to the source code of this file.
Defines | |
#define | NOEXTAPI |
#define | move(dst, src) moveBlock(dst, src, sizeof(dst)) |
#define | moveBlock(dst, src, size) |
#define | moveExpressionValue(dst, src) |
#define | moveExpressionValuePtr(dst, src) |
#define | moveExpressionAddress(dst, src) |
#define | NO_FLAG (LPSTR)0xFFFFFFFF |
#define | GF_CONSOLE 1 |
#define | GF_CONSOLESEL 2 |
#define | GF_FULLSCREEN 3 |
#define | GF_CMDHIST 4 |
#define | HEAP_GRANULARITY 8 |
#define | HEAP_SIZE(Size) (((Size) + (HEAP_GRANULARITY - 1) + HEAP_GRANULARITY) & ~(HEAP_GRANULARITY - 1)) |
Functions | |
BOOL | DebugConvertToAnsi (HANDLE hCurrentProcess, PWINDBG_EXTENSION_APIS lpExtensionApis, LPWSTR psrc, ULONG cbSrc, LPSTR pdst, ULONG cbDst) |
LPSTR | GetFlags (WORD wType, DWORD dwFlags, LPSTR pszBuf) |
BOOL | help (HANDLE hCurrentProcess, HANDLE hCurrentThread, DWORD dwCurrentPc, PWINDBG_EXTENSION_APIS lpExtensionApis, LPSTR lpArgumentString) |
BOOL | dch (HANDLE, HANDLE, DWORD, PWINDBG_EXTENSION_APIS, LPSTR) |
BOOL | dc (HANDLE hCurrentProcess, HANDLE hCurrentThread, DWORD dwCurrentPc, PWINDBG_EXTENSION_APIS lpExtensionApis, LPSTR lpArgString) |
BOOL | dt (HANDLE hCurrentProcess, HANDLE hCurrentThread, DWORD dwCurrentPc, PWINDBG_EXTENSION_APIS lpExtensionApis, LPSTR lpArgString) |
BOOL | df (HANDLE hCurrentProcess, HANDLE hCurrentThread, DWORD dwCurrentPc, PWINDBG_EXTENSION_APIS lpExtensionApis, LPSTR lpArgumentString) |
BOOL | di (HANDLE hCurrentProcess, HANDLE hCurrentThread, DWORD dwCurrentPc, PWINDBG_EXTENSION_APIS lpExtensionApis, LPSTR lpArgumentString) |
BOOL | dir (HANDLE hCurrentProcess, HANDLE hCurrentThread, DWORD dwCurrentPc, PWINDBG_EXTENSION_APIS lpExtensionApis, LPSTR lpArgumentString) |
BOOL | ds (HANDLE hCurrentProcess, HANDLE hCurrentThread, DWORD dwCurrentPc, PWINDBG_EXTENSION_APIS lpExtensionApis, LPSTR lpArgumentString) |
BOOL | dcpt (HANDLE hCurrentProcess, HANDLE hCurrentThread, DWORD dwCurrentPc, PWINDBG_EXTENSION_APIS lpExtensionApis, LPSTR lpArgumentString) |
ULONG | dmem (HANDLE hCurrentProcess, HANDLE hCurrentThread, DWORD dwCurrentPc, PWINDBG_EXTENSION_APIS lpExtensionApis, LPSTR lpArgString) |
Variables | |
PSTR | pszAccessViolation = "CONEXTS: Access violation on \"%s\", switch to server context\n" |
PSTR | pszMoveException = "CONEXTS: exception in move()\n" |
PSTR | pszReadFailure = "CONEXTS: moveBlock(%x, %x, %x) failed!\n" |
BOOL | gbShowFlagNames = FALSE |
LPSTR | apszConsoleFlags [] |
LPSTR | apszConsoleSelectionFlags [] |
LPSTR | apszFullScreenFlags [] |
LPSTR | apszCommandHistoryFlags [] |
|
Definition at line 162 of file conexts.c. Referenced by dch(), and GetFlags(). |
|
Definition at line 116 of file conexts.c. Referenced by dc(), and GetFlags(). |
|
Definition at line 146 of file conexts.c. Referenced by dc(), and GetFlags(). |
|
Definition at line 155 of file conexts.c. Referenced by dc(), and GetFlags(). |
|
|
|
Definition at line 1554 of file conexts.c. Referenced by dmem(). |
|
Definition at line 26 of file conexts.c. Referenced by _PrintInxClause(), dc(), dch(), dcpt(), DebugGetWindowTextA(), df(), di(), dir(), dmem(), ds(), dt(), DumpConvInfo(), GetPfromH(), HtoHE(), Idf(), Idmon(), Ikbp(), and KeSetup80387OrEmulate(). |
|
Value:
Definition at line 28 of file conexts.c. Referenced by dch(), DebugConvertToAnsi(), and DsoDump(). |
|
Value:
|
|
Value:
|
|
Value:
|
|
Definition at line 114 of file conexts.c. Referenced by GetFlags(). |
|
|
|
Definition at line 334 of file conexts.c. References _CONSOLE_INFORMATION::bIconInit, BOOL, _CONSOLE_INFORMATION::ClientThreadHandle, _CONSOLE_INFORMATION::CommandHistoryList, _CONSOLE_INFORMATION::CommandHistorySize, CONSOLE_INFORMATION, _CONSOLE_INFORMATION::ConsoleHandle, ConsoleHandles, _CONSOLE_INFORMATION::ConsoleLock, _CONSOLE_INFORMATION::CP, _CONSOLE_INFORMATION::CtrlFlags, _CONSOLE_INFORMATION::CurrentScreenBuffer, dch(), DebugConvertToAnsi(), _CONSOLE_INFORMATION::dwHotKey, _CONSOLE_INFORMATION::dwWindowOriginX, _CONSOLE_INFORMATION::dwWindowOriginY, _CONSOLE_INFORMATION::ExeAliasList, FALSE, _CONSOLE_INFORMATION::Flags, _CONSOLE_INFORMATION::FullScreenFlags, gbShowFlagNames, GetFlags(), GF_CONSOLE, GF_CONSOLESEL, GF_FULLSCREEN, _CONSOLE_INFORMATION::hDC, _CONSOLE_INFORMATION::hHeirMenu, _CONSOLE_INFORMATION::hIcon, History, _CONSOLE_INFORMATION::hMenu, _CONSOLE_INFORMATION::HorizontalClientToWindow, _CONSOLE_INFORMATION::hSysPalette, _CONSOLE_INFORMATION::hWnd, _CONSOLE_INFORMATION::hWndProgMan, _CONSOLE_INFORMATION::iIconId, _CONSOLE_INFORMATION::InitEvents, _CONSOLE_INFORMATION::InputBuffer, _CONSOLE_INFORMATION::InsertMode, _CONSOLE_INFORMATION::LastAttributes, _CONSOLE_INFORMATION::LimitingProcessId, _CONSOLE_INFORMATION::MaxCommandHistories, move, moveExpressionValue, moveExpressionValuePtr, NULL, NumberOfConsoleHandles, _CONSOLE_INFORMATION::NumCommandHistories, _CONSOLE_INFORMATION::OriginalTitle, _CONSOLE_INFORMATION::OriginalTitleLength, _CONSOLE_INFORMATION::OutputCP, _CONSOLE_INFORMATION::OutputQueue, _CONSOLE_INFORMATION::PopupCount, _CONSOLE_INFORMATION::ProcessHandleList, _CONSOLE_INFORMATION::RefCount, _CONSOLE_INFORMATION::ReserveKeys, _CONSOLE_INFORMATION::ResizeFlags, _CONSOLE_INFORMATION::ScreenBuffers, _CONSOLE_INFORMATION::SelectionAnchor, _CONSOLE_INFORMATION::SelectionFlags, _CONSOLE_INFORMATION::SelectionRect, sprintf(), _CONSOLE_INFORMATION::StateBuffer, _CONSOLE_INFORMATION::StateBufferClient, _CONSOLE_INFORMATION::StateLength, _CONSOLE_INFORMATION::StateSectionHandle, _CONSOLE_INFORMATION::TerminationEvent, _CONSOLE_INFORMATION::TextCursorPosition, _CONSOLE_INFORMATION::TextCursorSize, _CONSOLE_INFORMATION::TextCursorVisible, _CONSOLE_INFORMATION::Title, _CONSOLE_INFORMATION::TitleLength, TRUE, _CONSOLE_INFORMATION::VDMBuffer, _CONSOLE_INFORMATION::VDMBufferClient, _CONSOLE_INFORMATION::VDMBufferSectionHandle, _CONSOLE_INFORMATION::VDMBufferSize, _CONSOLE_INFORMATION::VDMEndHardwareEvent, _CONSOLE_INFORMATION::VDMProcessHandle, _CONSOLE_INFORMATION::VDMProcessId, _CONSOLE_INFORMATION::VDMStartHardwareEvent, _CONSOLE_INFORMATION::VerticalClientToWindow, _CONSOLE_INFORMATION::WaitCount, _CONSOLE_INFORMATION::WaitQueue, _CONSOLE_INFORMATION::WindowRect, and _CONSOLE_INFORMATION::wShowWindow. Referenced by ClearDlg(), and ClearDlgNoState().
|
|
Definition at line 1441 of file conexts.c. References _COMMAND_HISTORY::AppName, BOOL, _COMMAND::CommandLength, _COMMAND_HISTORY::Commands, DebugConvertToAnsi(), FALSE, _COMMAND_HISTORY::FirstCommand, _COMMAND_HISTORY::Flags, GetFlags(), GF_CMDHIST, L, _COMMAND_HISTORY::LastAdded, _COMMAND_HISTORY::LastDisplayed, _COMMAND_HISTORY::ListLink, _COMMAND_HISTORY::MaximumNumberOfCommands, move, moveBlock, NULL, _COMMAND_HISTORY::NumberOfCommands, _COMMAND_HISTORY::PopupList, _COMMAND_HISTORY::ProcessHandle, and TRUE. Referenced by dc(), and MLInsertCrCrLf().
|
|
Definition at line 1362 of file conexts.c. References BOOL, move, and TRUE.
|
|
Definition at line 85 of file conexts.c. References BOOL, min, moveBlock, NULL, RtlUnicodeToMultiByteN(), and TRUE. Referenced by dc(), dch(), dmem(), and dt().
|
|
Definition at line 848 of file conexts.c. References tagFACENODE::awch, BOOL, BYTE, tagFACENODE::dwFlag, DWORD, EF_DEFFACE, EF_ENUMERATED, EF_NEW, EF_OEMFONT, EF_OLD, EF_TTFONT, _FONT_INFO::FaceName, FACENODE, _FONT_INFO::Family, FONT_INFO, FontInfo, FontInfoLength, _FONT_INFO::hFont, move, moveExpressionValue, moveExpressionValuePtr, NumberOfFonts, PFACENODE, tagFACENODE::pNext, _FONT_INFO::Size, _FONT_INFO::SizeWant, TRUE, and _FONT_INFO::Weight.
|
|
Definition at line 938 of file conexts.c. References _INPUT_INFORMATION::AllocatedBufferSize, BOOL, ConsoleHandles, FALSE, _INPUT_INFORMATION::First, _INPUT_INFORMATION::In, _INPUT_INFORMATION::InputBuffer, _CONSOLE_INFORMATION::InputBuffer, _INPUT_INFORMATION::InputBufferSize, _INPUT_INFORMATION::InputMode, _INPUT_INFORMATION::InputWaitEvent, _INPUT_INFORMATION::Last, move, moveExpressionValue, moveExpressionValuePtr, NULL, NumberOfConsoleHandles, _INPUT_INFORMATION::Out, _INPUT_INFORMATION::ReadWaitQueue, _INPUT_INFORMATION::RefCount, and TRUE. Referenced by DumpConvInfo().
|
|
Definition at line 1041 of file conexts.c. References BOOL, DWORD, move, and TRUE. Referenced by LdrpSearchResourceSection_U(), MNFindItemInColumn(), MNFindNextValidItem(), and xxxMNKeyDown().
|
|
Definition at line 1556 of file conexts.c. References BYTE, CONSOLE_TEXTMODE_BUFFER, ConsoleHandles, DebugConvertToAnsi(), HEAP_SIZE, move, moveExpressionValue, moveExpressionValuePtr, _SCREEN_INFORMATION::Next, NULL, NumberOfConsoleHandles, sprintf(), _CONSOLE_INFORMATION::Title, and _CONSOLE_INFORMATION::TitleLength.
|
|
Definition at line 1164 of file conexts.c. References _SCREEN_INFORMATION::Attributes, BOOL, _SCREEN_INFORMATION::BufferInfo, _SCREEN_INFORMATION::CommandIdHigh, _SCREEN_INFORMATION::CommandIdLow, _SCREEN_INFORMATION::Console, CONSOLE_OEMFONT_DISPLAY, CONSOLE_TEXTMODE_BUFFER, Count, _SCREEN_INFORMATION::CursorDisplayCount, _SCREEN_INFORMATION::CursorHandle, DWORD, _SCREEN_INFORMATION::dwUsage, _TEXT_BUFFER_FONT_INFO::FaceName, _TEXT_BUFFER_FONT_INFO::Family, _SCREEN_INFORMATION::Flags, _TEXT_BUFFER_FONT_INFO::FontCodePage, _TEXT_BUFFER_FONT_INFO::FontNumber, _TEXT_BUFFER_FONT_INFO::FontSize, _SCREEN_INFORMATION::hPalette, move, _TEXT_BUFFER_FONT_INFO::NextTextBufferFont, NULL, _SCREEN_INFORMATION::OutputMode, _SCREEN_INFORMATION::PopupAttributes, PTEXT_BUFFER_FONT_INFO, _SCREEN_INFORMATION::RefCount, _SCREEN_INFORMATION::ResizingWindow, _SCREEN_INFORMATION::ScreenBufferSize, TEXT_BUFFER_FONT_INFO, TRUE, _TEXT_BUFFER_FONT_INFO::Weight, _SCREEN_INFORMATION::WheelDelta, _SCREEN_INFORMATION::Window, _SCREEN_INFORMATION::WindowMaximized, _SCREEN_INFORMATION::WindowMaximizedX, and _SCREEN_INFORMATION::WindowMaximizedY. Referenced by MESSAGECALL().
|
|
Definition at line 650 of file conexts.c. References _ATTR_PAIR::Attr, _ATTR_ROW::AttrPair, _ROW::AttrRow, _ATTR_ROW::Attrs, BOOL, _SCREEN_INFORMATION::BufferInfo, _ROW::CharRow, _CHAR_ROW::Chars, CONSOLE_TEXTMODE_BUFFER, ConsoleHandles, _CONSOLE_INFORMATION::CP, _CONSOLE_INFORMATION::CurrentScreenBuffer, DebugConvertToAnsi(), DWORD, FALSE, _SCREEN_INFORMATION::Flags, gbShowFlagNames, _CHAR_ROW::Left, _ATTR_PAIR::Length, _ATTR_ROW::Length, move, moveExpressionValue, moveExpressionValuePtr, NULL, NumberOfConsoleHandles, _CHAR_ROW::OldLeft, _CHAR_ROW::OldRight, _CONSOLE_INFORMATION::OutputCP, _CHAR_ROW::Right, ROW, SCREEN_INFORMATION, _CONSOLE_INFORMATION::ScreenBuffers, _SCREEN_INFORMATION::ScreenBufferSize, SHORT, sprintf(), _CONSOLE_INFORMATION::Title, _CONSOLE_INFORMATION::TitleLength, TRUE, USHORT, and _CONSOLE_INFORMATION::VDMBuffer. Referenced by InternalCreateDialog(), SetJournalTimer(), xxxCallJournalPlaybackHook(), and xxxGetNextSysMsg().
|
|
Definition at line 177 of file conexts.c. References apszCommandHistoryFlags, apszConsoleFlags, apszConsoleSelectionFlags, apszFullScreenFlags, BOOL, dwFlags, DWORD, FALSE, gbShowFlagNames, GF_CMDHIST, GF_CONSOLE, GF_CONSOLESEL, GF_FULLSCREEN, NO_FLAG, NULL, sprintf(), and TRUE. Referenced by dbgPtoH(), dc(), dch(), and Ifrr().
|
|
Definition at line 251 of file conexts.c. References BOOL.
|
|
Initial value: Definition at line 163 of file conexts.c. Referenced by GetFlags(). |
|
Initial value:
Definition at line 117 of file conexts.c. Referenced by GetFlags(). |
|
Initial value:
Definition at line 147 of file conexts.c. Referenced by GetFlags(). |
|
Initial value: Definition at line 156 of file conexts.c. Referenced by GetFlags(). |
|
Definition at line 112 of file conexts.c. Referenced by dc(), dt(), and GetFlags(). |
|
|
|
|
|
|