e7fffcc8ee
This changeset overhauls several UI infrastructure paths: it adds richer column drag/drop visuals, expands the search box with fuzzy matching and match-range APIs, and refactors theme handling (including Explorer-style palette support, buffered/non-client paint cleanup, and new theme file utilities). It also hardens core behavior with many reliability fixes, such as bounded HTTP download buffering, safer process/service enumeration and handle ownership updates, improved window/context lifecycle handling, DPI/layout fixes, and broader consistency updates across dialog/list-view drawing and helper APIs.
79 lines
1.0 KiB
C
79 lines
1.0 KiB
C
/*
|
|
* Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved.
|
|
*
|
|
* This file is part of System Informer.
|
|
*
|
|
* Authors:
|
|
*
|
|
* dmex 2024
|
|
*
|
|
*/
|
|
|
|
#ifndef _PH_CONSOLE_H
|
|
#define _PH_CONSOLE_H
|
|
|
|
PHLIBAPI
|
|
NTSTATUS
|
|
NTAPI
|
|
PhAttachConsole(
|
|
_In_ HANDLE ProcessId
|
|
);
|
|
|
|
PHLIBAPI
|
|
HWND
|
|
NTAPI
|
|
PhGetConsoleWindow(
|
|
VOID
|
|
);
|
|
|
|
PHLIBAPI
|
|
HANDLE
|
|
NTAPI
|
|
PhGetStdHandle(
|
|
_In_ ULONG StdHandle
|
|
);
|
|
|
|
PHLIBAPI
|
|
VOID
|
|
NTAPI
|
|
PhFreeConsole(
|
|
VOID
|
|
);
|
|
|
|
PHLIBAPI
|
|
NTSTATUS
|
|
NTAPI
|
|
PhGetConsoleProcessList(
|
|
_In_ HANDLE ProcessId,
|
|
_In_ ULONG ProcessCount,
|
|
_Out_writes_(ProcessCount) PULONG ProcessList,
|
|
_Out_ PULONG ProcessTotal
|
|
);
|
|
|
|
PHLIBAPI
|
|
NTSTATUS
|
|
NTAPI
|
|
PhConsoleSetForeground(
|
|
_In_ HANDLE ProcessHandle,
|
|
_In_ BOOLEAN Foreground
|
|
);
|
|
|
|
PHLIBAPI
|
|
NTSTATUS
|
|
NTAPI
|
|
PhConsoleSetWindow(
|
|
_In_ HANDLE ProcessID,
|
|
_In_ HANDLE ThreadId,
|
|
_In_ HWND WindowHandle
|
|
);
|
|
|
|
PHLIBAPI
|
|
NTSTATUS
|
|
NTAPI
|
|
PhConsoleEndTask(
|
|
_In_ HANDLE ProcessId,
|
|
_In_ HWND WindowHandle
|
|
);
|
|
|
|
#endif
|