12#define ConSrvGetTextModeBuffer(ProcessData, Handle, Ptr, Access, LockConsole) \
13 ConSrvGetObject((ProcessData), (Handle), (PCONSOLE_IO_OBJECT*)(Ptr), NULL, \
14 (Access), (LockConsole), TEXTMODE_BUFFER)
15#define ConSrvGetTextModeBufferAndHandleEntry(ProcessData, Handle, Ptr, Entry, Access, LockConsole) \
16 ConSrvGetObject((ProcessData), (Handle), (PCONSOLE_IO_OBJECT*)(Ptr), (Entry), \
17 (Access), (LockConsole), TEXTMODE_BUFFER)
19#define ConSrvGetGraphicsBuffer(ProcessData, Handle, Ptr, Access, LockConsole) \
20 ConSrvGetObject((ProcessData), (Handle), (PCONSOLE_IO_OBJECT*)(Ptr), NULL, \
21 (Access), (LockConsole), GRAPHICS_BUFFER)
22#define ConSrvGetGraphicsBufferAndHandleEntry(ProcessData, Handle, Ptr, Entry, Access, LockConsole) \
23 ConSrvGetObject((ProcessData), (Handle), (PCONSOLE_IO_OBJECT*)(Ptr), (Entry), \
24 (Access), (LockConsole), GRAPHICS_BUFFER)
26#define ConSrvGetScreenBuffer(ProcessData, Handle, Ptr, Access, LockConsole) \
27 ConSrvGetObject((ProcessData), (Handle), (PCONSOLE_IO_OBJECT*)(Ptr), NULL, \
28 (Access), (LockConsole), SCREEN_BUFFER)
29#define ConSrvGetScreenBufferAndHandleEntry(ProcessData, Handle, Ptr, Entry, Access, LockConsole) \
30 ConSrvGetObject((ProcessData), (Handle), (PCONSOLE_IO_OBJECT*)(Ptr), (Entry), \
31 (Access), (LockConsole), SCREEN_BUFFER)
33#define ConSrvReleaseScreenBuffer(Buff, IsConsoleLocked) \
34 ConSrvReleaseObject(&(Buff)->Header, (IsConsoleLocked))
VOID NTAPI ConDrvDeleteScreenBuffer(PCONSOLE_SCREEN_BUFFER Buffer)
PCONSOLE_SCREEN_BUFFER ConDrvGetActiveScreenBuffer(IN PCONSOLE Console)
NTSTATUS ConDrvCreateScreenBuffer(OUT PCONSOLE_SCREEN_BUFFER *Buffer, IN PCONSOLE Console, IN HANDLE ProcessHandle OPTIONAL, IN ULONG BufferType, IN PVOID ScreenBufferInfo)
_In_ HANDLE ProcessHandle
CONSOLE_SCREEN_BUFFER_INFO ScreenBufferInfo
PULONG MinorVersion OPTIONAL