29 HBITMAP hBitmapTarget, hBitmapOld;
30 HPALETTE hPalette, hPaletteOld;
31 ULONG selWidth, selHeight;
37 DPRINT(
"Selection is (%d|%d) to (%d|%d)\n",
44 if (hMemDC ==
NULL)
return;
48 if (hBitmapTarget ==
NULL)
61 hPalette =
Buffer->PaletteHandle;
91 Buffer->ScreenBufferSize.Y,
158 rcFramebuffer->
right - rcFramebuffer->
left,
159 rcFramebuffer->
bottom - rcFramebuffer->
top,
164 Buffer->ScreenBufferSize.Y,
struct _CONSRV_CONSOLE * PCONSRV_CONSOLE
#define ConioRectWidth(Rect)
#define ConioRectHeight(Rect)
NTSTATUS NTAPI NtReleaseMutant(IN HANDLE MutantHandle, IN PLONG PreviousCount OPTIONAL)
NTSYSAPI NTSTATUS NTAPI NtWaitForSingleObject(IN HANDLE hObject, IN BOOLEAN bAlertable, IN PLARGE_INTEGER Timeout)
CONSOLE_SELECTION_INFO Selection
BOOLEAN NTAPI ConDrvValidateConsoleUnsafe(IN PCONSOLE Console, IN CONSOLE_STATE ExpectedState, IN BOOLEAN LockConsole)
VOID GuiCopyFromGraphicsBuffer(PGRAPHICS_SCREEN_BUFFER Buffer, PGUI_CONSOLE_DATA GuiData)
VOID GuiPaintGraphicsBuffer(PGRAPHICS_SCREEN_BUFFER Buffer, PGUI_CONSOLE_DATA GuiData, PRECT rcView, PRECT rcFramebuffer)
VOID GuiPasteToGraphicsBuffer(PGRAPHICS_SCREEN_BUFFER Buffer, PGUI_CONSOLE_DATA GuiData)
#define ConioInitLongRect(Rect, Top, Left, Bottom, Right)
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
int WINAPI SetDIBitsToDevice(_In_ HDC, _In_ int, _In_ int, _In_ DWORD, _In_ DWORD, _In_ int, _In_ int, _In_ UINT, _In_ UINT, _In_ CONST VOID *, _In_ CONST BITMAPINFO *, _In_ UINT)
HPALETTE WINAPI SelectPalette(_In_ HDC, _In_ HPALETTE, _In_ BOOL)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
HBITMAP WINAPI CreateCompatibleBitmap(_In_ HDC hdc, _In_ INT cx, _In_ INT cy)
BOOL WINAPI DeleteDC(_In_ HDC)
int WINAPI StretchDIBits(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_opt_ const VOID *, _In_ const BITMAPINFO *, _In_ UINT, _In_ DWORD)
HANDLE WINAPI SetClipboardData(_In_ UINT, _In_opt_ HANDLE)
BOOL WINAPI EmptyClipboard(void)