text
stringlengths
14
100k
source
stringclasses
1 value
repo
stringclasses
810 values
language
stringclasses
13 values
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * jxy-s 2022-2026 * */ #include <kph.h> #include <trace.h> KPH_PAGED_FILE(); /** * \brief Performs generic system control actions. * * \param[in]...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2016 * jxy-s 2022-2026 * */ #include <kph.h> #include <trace.h> KPH_PAGED_FILE(); /** * \brief Opens a thread. * * \param[out...
fim
winsiderss/systeminformer
c
<|fim_suffix|>izeTToMode( _Out_ PSIZE_T Destination, _In_ SIZE_T Source, _In_ KPROCESSOR_MODE AccessMode ) { KPH_PAGED_CODE(); __try { WriteSizeTToMode(Destination, Source, AccessMode); } __except (UmaExceptionFilter(AccessMode)) { return GetExceptionCode(); ...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2016 * jxy-s 2022-2026 * */ #include <kph.h> #include <search.h> #include <trace.h> /** * \brief Performs a binary search of a sorted...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2016 * jxy-s 2020-2026 * */ #include <kph.h> #include <trace.h> #define KPH_KEY_MATERIAL_SIZE ((ULONG)0x21B) #define KPH_KEY_AL...
fim
winsiderss/systeminformer
c
<|fim_suffix|> break; } } Exit: if (ReturnLength) { KphWriteULongToMode(ReturnLength, returnLength, AccessMode); } if (sectionObject) { ObDereferenceObject(sectionObject); } if (buffer) { KphFreeA(buffer, KPH_TAG_SECTION_QUERY, stackBuffer); ...
fim
winsiderss/systeminformer
c
<|fim_suffix|> 1921 #define EXPORT_PHCLEARIGNOREDSETTINGS 1922 #define EXPORT_PHCONVERTIGNOREDSETTINGS 1923 #define EXPORT_PHGETINTEGERPAIRSTRINGREFSETTING 1924 #define EXPORT_PHGETINTEGERSTRINGREFSETTI...
fim
winsiderss/systeminformer
c
<|fim_suffix|> L" <a href=\"https://github.com/ionescu007\">ionescu007</a> - Alex Ionescu\n" L" <a href=\"https://github.com/yardenshafir\">yardenshafir</a> - Yarden Shafir\n" L" <a href=\"https://github.com/winsiderss/systeminformer/graphs/contributors\">Contributors</a> - tha...
fim
winsiderss/systeminformer
c
<|fim_suffix|>Exit; status = IExecAction_put_Path( taskExecAction, taskFileNameString ); if (FAILED(status)) goto CleanupExit; #if (PH_ADMIN_TASK_FORWARD_COMMANDLINE_UNPRIVILEGED) status = IExecAction_put_Arguments( taskExecAction, taskArgumentsString ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>OpenProcess( &processHandle, PROCESS_SET_INFORMATION, ProcessItem->ProcessId ); if (NT_SUCCESS(status)) { status = PhSetProcessPriorityBoost(processHandle, PriorityBoost); NtClose(processHandle); } return status; } // Note: Workaround for ...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2011 * */ /* * There are two ways of seeing what a thread is waiting on. The first method * is to walk the stack of a thread and read th...
fim
winsiderss/systeminformer
c
<|fim_suffix|>// DestroyIcon(iconSmallHandle); //} //if (iconLargeHandle && CleanupIcon) //{ // DestroyIcon(iconLargeHandle); //} } VOID PhDestroyWindowIcon( _In_ HWND WindowHandle ) { //HICON iconHandle; //if (iconHandle = (HICON)SendMessage(WindowHandle, WM_SETICON, ICON_S...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010 * dmex 2017-2023 * */ #include <phapp.h> #include <settings.h> typedef struct _COLUMNS_DIALOG_CONTEXT { HWND ControlHandle; ...
fim
winsiderss/systeminformer
c
<|fim_suffix|> PhAppendStringBuilder(&savedChoices, &escaped->sr); PhAppendStringBuilder2(&savedChoices, L"\\s"); } for (i = 1; i < choicesToSave; i++) { choice = PH_AUTO(PhGetComboBoxString(...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010 * dmex 2016-2023 * */ #include <phapp.h> #include <procprv.h> #include <lsasup.h> typedef struct _PH_CHOOSE_PROCESS_DIALOG_CONTEX...
fim
winsiderss/systeminformer
c
<|fim_suffix|> */ #include <phapp.h> #include <colmgr.h> #include <extmgri.h> #include <phplug.h> typedef struct _PH_CM_SORT_CONTEXT { PPH_PLUGIN_TREENEW_SORT_FUNCTION SortFunction; ULONG SubId; PVOID Context; PPH_CM_POST_SORT_FUNCTION PostSortFunction; PH_SORT_ORDER SortOrder; } PH_CM_SORT_CONT...
fim
winsiderss/systeminformer
c
<|fim_suffix|>se LVN_ENDLABELEDIT: { LV_DISPINFO* lvinfo = (LV_DISPINFO*)lParam; if (lvinfo->item.iItem != -1 && lvinfo->item.pszText) { BOOLEAN found = FALSE; PPH_COLUMN_SET_ENTRY entry; ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>ms[i]; PhDereferenceObject(stringEntry->String); } PhDereferenceObject(list); PhDereferenceObject(hashtable); #else wprintf(commandDebugOnly); #endif } else if (PhEqualStringZ(command, L"enableleakdetect", TRUE)) { ...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex 2022-2023 * */ #include <phapp.h> #include <apiimport.h> #include <mapldr.h> #include <thirdparty.h> #include <vsstyle.h> #include <uxtheme.h> ...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex 2021-2023 * */ #include <phapp.h> #include <mapldr.h> // CRT delayload support // The msvc delayload handler throws exceptions when // imports...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2011 * */ /* * The extension manager provides support for generic extensions. It sits directly * underneath the plugin manager, and has no kn...
fim
winsiderss/systeminformer
c
<|fim_suffix|>xt) PhDereferenceObject(context->WindowText); if (context->TypeWindowFont) DeleteFont(context->TypeWindowFont); PhDereferenceObject(context); PostQuitMessage(0); } break; case WM_PH_SEARCH_SHOWDIALOG: { ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>e = 0; selectedBitmap = GetCurrentObject(hdc, OBJ_BITMAP); if (selectedBitmap && GetObject(selectedBitmap, sizeof(BITMAP), &bitmap)) { bitmapSize = (SIZE_T)bitmap.bmWidthBytes * (SIZE_T)bitmap.bmHeight; } return PhFormatString( ...
fim
winsiderss/systeminformer
c
<|fim_suffix|> case 1: case USHRT_MAX: PhCopyListView(context->ListViewHandle); break; } } PhDestroyEMenu(menu); } } } break; ...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2013 * dmex 2019-2023 * */ /* * There are two methods of zombie process detection implemented in this module. * * Brute Force. ...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2011-2013 * dmex 2017-2023 * */ #include <phapp.h> #include <hndllist.h> #include <emenu.h> #include <secedit.h> #include <settings.h>...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2016 * */ #include <phapp.h> #include <hndlmenu.h> #include <emenu.h> #include <hndlinfo.h> #include <kphuser.h> #include <phsettings.h> #incl...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2015 * dmex 2017-2023 * */ #include <phapp.h> #include <hndlprv.h> #include <hndlinfo.h> #include <kphuser.h> #include <settings....
fim
winsiderss/systeminformer
c
<|fim_suffix|>handleInfo->ObjectTypeIndex]; if (PhIsNullOrEmptyString(entry->Name)) { entry->Name = PhGetObjectTypeIndexName(handleInfo->ObjectTypeIndex); if (PhIsNullOrEmptyString(entry->Name)) { PPH_S...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2016 * dmex 2018-2023 * */ #ifndef PH_ACTIONS_H #define PH_ACTIONS_H EXTERN_C_START typedef enum _PH_ACTION_ELEVATION_LEVEL { NeverElevateActio...
fim
winsiderss/systeminformer
c
<|fim_suffix|>GREF Text ); FORCEINLINE BOOLEAN NTAPI PhWordMatchStringZ( _In_ PPH_STRING SearchText, _In_ PCWSTR Text ) { PH_STRINGREF text; PhInitializeStringRef(&text, Text); return PhWordMatchStringRef(&SearchText->sr, &text); } FORCEINLINE BOOLEAN NTAPI PhWordMatchStringLongHintZ( ...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2011-2015 * dmex 2023-2024 * */ #ifndef PH_COLMGR_H #define PH_COLMGR_H #define PH_CM_ORDER_LIMIT 160 // begin_phapppub typedef _Function_class_(PH...
fim
winsiderss/systeminformer
c
<|fim_suffix|>ss_(return) BOOLEAN PhLoadSettingsColumnSet( _In_ PCWSTR SettingName, _In_ PPH_STRING ColumnSetName, _Out_ PPH_STRING *TreeListSettings, _Out_ PPH_STRING *TreeSortSettings ); VOID PhSaveSettingsColumnSet( _In_ PCWSTR SettingName, _In_ PPH_STRING ColumnSetName, _In_ PPH_STR...
fim
winsiderss/systeminformer
c
<|fim_suffix|>faceUnrestrictedAppCapabilities, PhDevicePropertyInterfaceSchematicName, PhDevicePropertyInterfaceClassDefaultInterface, PhDevicePropertyInterfaceClassName, PhDevicePropertyContainerAddress, PhDevicePropertyContainerDiscoveryMethod, PhDevicePropertyContainerIsEncrypted, PhDev...
fim
winsiderss/systeminformer
c
<|fim_suffix|>TAPI *PPH_EM_OBJECT_CALLBACK)( _In_ PVOID Object, _In_ PH_EM_OBJECT_TYPE ObjectType, _In_ PVOID Extension ); // end_phapppub typedef struct _PH_EM_APP_CONTEXT { LIST_ENTRY ListEntry; PH_STRINGREF AppName; struct _PH_EM_OBJECT_EXTENSION *Extensions[EmMaximumObjectType]; } PH_EM...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2011-2013 * dmex 2017-2022 * */ #ifndef PH_EXTMGRI_H #define PH_EXTMGRI_H #include <extmgr.h> typedef struct _PH_EM_OBJECT_TYPE_STATE { SIZE_T ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>ved; LIST_ENTRY UCRSegmentList; } HEAP_SEGMENT, *PHEAP_SEGMENT; #define HEAP_SIGNATURE 0xeeffeeff // Windows 7 typedef struct _HEAP_OLD { HEAP_SEGMENT Segment; ULONG Flags; ULONG ForceFlags; ULONG CompatibilityFlags; ULONG EncodeFlagMask; HEAP_ENTRY Encoding; ULONG_PTR Po...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2009-2015 * dmex 2017-2024 * */ #ifndef PH_HIDNPROC_H #define PH_HIDNPROC_H typedef enum _PH_ZOMBIE_PROCESS_METHOD { BruteForceScanMethod, C...
fim
winsiderss/systeminformer
c
<|fim_suffix|>em, _In_ ULONG RunId ); PPH_HANDLE_NODE PhFindHandleNode( _In_ PPH_HANDLE_LIST_CONTEXT Context, _In_ HANDLE Handle ); VOID PhRemoveHandleNode( _In_ PPH_HANDLE_LIST_CONTEXT Context, _In_ PPH_HANDLE_NODE HandleNode ); VOID PhUpdateHandleNode( _In_ PPH_HANDLE_LIST_CONTE...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2009-2016 * */ #<|fim_suffix|> PPH_STRING TypeName; PPH_STRING BestObjectName; } PH_HANDLE_ITEM_INFO, *PPH_HANDLE_ITEM_INFO; VOID PhInse...
fim
winsiderss/systeminformer
c
<|fim_suffix|>Processed; PPH_STRING TypeName; PPH_STRING ObjectName; PPH_STRING BestObjectName; WCHAR HandleString[PH_PTR_STR_LEN_1]; WCHAR GrantedAccessString[PH_PTR_STR_LEN_1]; WCHAR ObjectString[PH_PTR_STR_LEN_1]; } PH_HANDLE_ITEM, *PPH_HANDLE_ITEM; typedef struct _PH_HANDLE_PROVIDER { ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>AGE ReplyMessage ); BOOLEAN PhInformerDispatch( _In_ ULONG_PTR ReplyToken, _In_ PCKPH_MESSAGE Message ); VOID PhInformerInitialize( VOID ); VOID PhInformerActivate( VOID ); PPH_LIST PhInformerDatabaseQuery( _In_ ULONG64 ProcessStartKey, _In_opt_ PLARGE_INTEGER T...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * jxy-s 202<|fim_suffix|>} #endif <|fim_middle|>2 * dmex 2022-2023 * */ #ifndef PH_KSISUP_H #define PH_KSISUP_H VOID PhShowKsiStatus( VOI...
fim
winsiderss/systeminformer
c
<|fim_suffix|>oryResults) \ PhPluginInvokeWindowCallback(PH_MAINWINDOW_CALLBACK_TYPE_SHOW_MEMORY_RESULTS, 0, (PVOID)(ULONG_PTR)(ShowMemoryResults)) #define SystemInformer_SelectTabPage(Index) \ PhPluginInvokeWindowCallback(PH_MAINWINDOW_CALLBACK_TYPE_SELECT_TAB_PAGE, 0, (PVOID)(ULONG_PTR)(Index)) #define System...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2011-2016 * dmex 2017-2023 * */ #ifndef PH_MAINWNDP_H #define PH_MAINWNDP_H #define PH_FLUSH_PROCESS_QUERY_DATA_INTERVAL_1 250 #define...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2016 * dmex 2017-2023 * */ #ifndef PH_MEMLIST_H #define PH_MEMLIST_H #include <colmgr.h> // Columns #define PHMMTLC_BASEADDRESS 0 #d...
fim
winsiderss/systeminformer
c
<|fim_suffix|>ONG MappedWriteWatch : 1; ULONG PageSizeLarge : 1; ULONG PageSizeHuge : 1; ULONG Reserved : 19; // Sync with MemoryRegionInformationEx (dmex) }; }; WCHAR BaseAddressString[PH_PTR_STR_LEN_1]; struct _PH_MEMORY_ITEM *AllocationBaseItem; SIZE_T C...
fim
winsiderss/systeminformer
c
<|fim_prefix|>#ifndef PH_MEMSRCH_H #define PH_MEMSRCH_H typedef struct _PH_MEMORY_RESULT { LONG RefCount; PVOID Address; PVOID BaseAddress; SIZE_T Length; PH_STRINGREF Display; } PH_MEMORY_RESULT, *PPH_MEMORY_RESULT; typedef VOID (NTAPI *PPH_MEMORY_RESULT_CALLBACK)( _In_ _Assume_refs_(1) PPH_M...
fim
winsiderss/systeminformer
c
<|fim_suffix|>istSectionGetUsageText, // PPH_MINIINFO_LIST_SECTION_GET_USAGE_TEXT Parameter1 MiListSectionInitializeContextMenu, // PPH_MINIINFO_LIST_SECTION_MENU_INFORMATION Parameter1 MiListSectionHandleContextMenu, // PPH_MINIINFO_LIST_SECTION_MENU_INFORMATION Parameter1 MaxMiListSectionMessage } PH_MINI...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2015-2016 * dmex 2017-2023 * */ #ifndef PH_MINIINFOP_H #define PH_MINIINFOP_H // Constants #define MIP_TIMER_PIN_FIRST 1 #define MIP_...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2016 * dmex 2017-2023 * */ #ifndef PH_MODLIST_H #define PH_MODLIST_H #include <phuisup.h> #include <colmgr.h> // Columns #define PHM...
fim
winsiderss/systeminformer
c
<|fim_suffix|> ProcessId; HANDLE ProcessHandle; PPH_STRING ProcessFileName; PPH_STRING PackageFullName; SLIST_HEADER QueryListHead; NTSTATUS RunStatus; union { BOOLEAN Flags; struct { BOOLEAN HaveFirst : 1; BOOLEAN IsHandleValid : 1; ...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2016 * dmex 2017-2023 * */ #ifndef PH_NETLIST_H #define PH_NETLIST_H #include <phuisup.h> // Columns #define PHNETLC_PROCESS 0 ...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2016 * dmex 2017-2023 * */ #ifndef PH_NETPRV_H #define PH_NETPRV_H extern PPH_OBJECT_TYPE PhNetworkItemType; extern BOOLEAN PhEnableNe...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2011-2016 * dmex 2017-2023 * */ #ifndef PH_NOTIFICO_H #define PH_NOTIFICO_H extern PPH_LIST PhTrayIconItemList; typedef enum _PH_TRAY_ICON_ID { ...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2011-2016 * dmex 2017-2023 * */ #ifndef PH_NOTIFICOP_H #define PH_NOTIFICOP_H #define PH_NF_ENABLE_WORKQUEUE 1 typedef struct _PH_NF_WORKQUEUE_DATA...
fim
winsiderss/systeminformer
c
<|fim_suffix|>xt ); _Must_inspect_result_ HRESULT NTAPI PhShowToastStringRefEx( _In_ PPH_STRINGREF ApplicationId, _In_ PPH_STRINGREF ToastXml, _In_opt_ ULONG TimeoutMilliseconds, _In_opt_ PH_TOAST_PRIORITY Priority, _In_opt_ PPH_TOAST_CALLBACK ToastCallback, _In_opt_ PVOID Context ); E...
fim
winsiderss/systeminformer
c
<|fim_suffix|>Disable ); VOID PhLoadPlugins( VOID ); VOID PhUnloadPlugins( _In_ BOOLEAN SessionEnding ); // log #define PH_LOG_ENTRY_PROCESS_FIRST 1 #define PH_LOG_ENTRY_PROCESS_CREATE 1 #define PH_LOG_ENTRY_PROCESS_DELETE 2 #define PH_LOG_ENTRY_PROCESS_LAST 2 #define PH_LOG_ENTRY_SERVICE_FIRST...
fim
winsiderss/systeminformer
c
<|fim_suffix|>efine PHAPP_VERSION_REVISION 0 #endif #ifndef PHAPP_VERSION_COMMITHASH #define PHAPP_VERSION_COMMITHASH "0000000" #endif #define DO_MAKE_STR(x) #x #define MAKE_STR(x) DO_MAKE_STR(x) #define PHAPP_VERSION_STRING MAKE_STR(PHAPP_VERSION_MAJOR) "." MAKE_STR(PHAPP_VERSION_MINOR) "." MAKE_STR(PHAPP_VERSIO...
fim
winsiderss/systeminformer
c
<|fim_suffix|>; // procprv typedef struct _PH_PROCESS_PROPCONTEXT *PPH_PROCESS_PROPCONTEXT; // end_phapppub #endif <|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2016 * dmex 2022 * ...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2015 * dmex 2017-2024 * */ #ifndef PH_PHPLUG_H #define PH_PHPLUG_H #include <extmgr.h> #include <sysinfo.h> #include <miniinfo.h>...
fim
winsiderss/systeminformer
c
<|fim_suffix|> L"ModuleTreeListColumns" #define SETTING_MODULE_TREE_LIST_SORT L"ModuleTreeListSort" #define SETTING_NETWORK_TREE_LIST_COLUMNS L"NetworkTreeListColumns" #define SETTING_NETWORK_TREE_LIST_SORT L"NetworkTreeListSo...
fim
winsiderss/systeminformer
c
<|fim_suffix|>_ PVOID *Pointer ); _Function_class_(PHSVC_SERVER_CAPTURE_BUFFER) NTSTATUS PhSvcCaptureBuffer( _In_ PPH_RELATIVE_STRINGREF String, _In_ BOOLEAN AllowNull, _Out_ PVOID *CapturedBuffer ); NTSTATUS PhSvcCaptureString( _In_ PPH_RELATIVE_STRINGREF String, _In_ BOOLEAN AllowNull, ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>Name; PHSVC_API_CONTROLSERVICE_COMMAND Command; } i; } PHSVC_API_CONTROLSERVICE, *PPHSVC_API_CONTROLSERVICE; typedef union _PHSVC_API_CREATESERVICE { struct { // ServiceName is the only required string. PH_RELATIVE_STRINGREF ServiceName; PH_RELATIVE_STRINGREF D...
fim
winsiderss/systeminformer
c
<|fim_suffix|>viceType, _In_ ULONG StartType, _In_ ULONG ErrorControl, _In_opt_ PCWSTR BinaryPathName, _In_opt_ PCWSTR LoadOrderGroup, _Out_opt_ PULONG TagId, _In_opt_ PCWSTR Dependencies, _In_opt_ PCWSTR ServiceStartName, _In_opt_ PCWSTR Password ); // begin_phapppub PHAPPAPI NTSTA...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2009-2016 * */ #ifndef PH_PHUISUP_H #define PH_PHUISUP_H // begin_phapppub // Common state highlighting support typedef struct _PH_SH_STATE {...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Semi<|fim_suffix|>ontext ); #define PH_GROUP_PROCESSES_DONT_GROUP 0x1 #define PH_GROUP_PROCESSES_FILE_PATH 0x2 PPH_LIST PhCreateProcessGroupList( _In_opt_ PPH_SORT_LIST_FUNCTION SortListFunction, // Sort a list of PPH_PROCESS_NODE _In_opt_ PVOID Context, ...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2016 * dmex 2017-2023 * */ #ifndef PH_PROCMITIGATION_H #define PH_PROCMITIGATION_H typedef struct _PH_PROCESS_MITIGATION_POLICY_ALL_IN...
fim
winsiderss/systeminformer
c
<|fim_suffix|>indowHandle, _In_ HWND Handle, _In_ PPH_LAYOUT_ITEM ParentItem, _In_ ULONG Anchor ); PHAPPAPI VOID NTAPI PhDoPropPageLayout( _In_ HWND WindowHandle ); FORCEINLINE PPH_LAYOUT_ITEM PhBeginPropPageLayout( _In_ HWND hwndDlg, _In_ PPH_PROCESS_PROPPAGECONTEXT PropPageContext ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>ltaDiff; KPRIORITY BasePriority; KPRIORITY BasePriorityMin; KPRIORITY BasePriorityMax; KPRIORITY BasePriorityDiff; ULONG_PTR PagefileUsage; ULONG_PTR PagefileUsageMin; ULONG_PTR PagefileUsageMax; ULONG_PTR PagefileUsageDiff; ULONG_PTR PagefileDelta; ULONG_PTR PagefileDeltaMin; ULONG_PTR Pagef...
fim
winsiderss/systeminformer
c
<|fim_suffix|>ST PhProcessSmallImageList; extern LONG PhProcessImageListWindowDpi; // begin_phapppub PHAPPAPI VOID NTAPI PhProcessImageListInitialization( _In_ HWND WindowHandle, _In_ LONG WindowDpi ); PHAPPAPI PPH_IMAGELIST_ITEM NTAPI PhImageListExtractIcon( _In_ PPH_STRING FileName, _In_ BOOLEAN...
fim
winsiderss/systeminformer
c
<|fim_suffix|>ocessItems( _Out_ PPH_PROCESS_ITEM **Processes, _Out_ PULONG NumberOfProcesses ); PHAPPAPI PPH_PROCESS_NODE NTAPI PhGetSelectedProcessNode( VOID ); _Success_(return) PHAPPAPI BOOLEAN NTAPI PhGetSelectedProcessNodes( _Out_ PPH_PROCESS_NODE** Nodes, _Out_ PULONG NumberOfNodes ...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2016 * dmex 2017-2024 * */ #ifndef PH_SRVLIST_H #define PH_SRVLIST_H #include <phuisup.h> // Columns #define PHSVTLC_NAME 0 #de...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars<|fim_suffix|> PH_SERVICE_ITEM OldService; } PH_SERVICE_MODIFIED_DATA, *PPH_SERVICE_MODIFIED_DATA; typedef enum _PH_SERVICE_CHANGE { ServiceNone, ServiceStarted, ServiceContinued, ServicePaused, ServiceStopped, ServiceModified, } PH_SER...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2015-2016 * dmex 2017-2023 * */ #ifndef PH_SYSINFO_H #define PH_SYSINFO_H EXTERN_C_START // begin_phapppub typedef enum _PH_SYSINFO_V...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2011-2016 * dmex 2016-2024 * */ #ifndef PH_SYSINFOP_H #define PH_SYSINFOP_H EXTERN_C_START // Constants #define PH_SYSINFO_FADE_ADD ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>n_ PPH_THREAD_NODE ThreadNode ); VOID PhUpdateThreadNode( _In_ PPH_THREAD_LIST_CONTEXT Context, _In_ PPH_THREAD_NODE ThreadNode ); VOID PhTickThreadNodes( _In_ PPH_THREAD_LIST_CONTEXT Context ); PPH_THREAD_ITEM PhGetSelectedThreadItem( _In_ PPH_THREAD_LIST_CONTEXT Context ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>ider( _In_ PPH_THREAD_PROVIDER ThreadProvider, _In_ PPH_CALLBACK_REGISTRATION CallbackRegistration ); VOID PhSetTerminatingThreadProvider( _Inout_ PPH_THREAD_PROVIDER ThreadProvider ); VOID PhLoadSymbolsThreadProvider( _In_ PPH_THREAD_PROVIDER ThreadProvider ); PPH_THREAD_IT...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010 * dmex 2016-2023 * */ #include <phapp.h> #include <phsettings.h> #include <settings.h> typedef struct _PH_INFORMATION_CONTEXT { PCWSTR Stri...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * jxy-s 2024-2025 * */ #include <phapp.h> #include <phsettings.h> #include <phplug.h> #include <procprv.h> #include <kphuser.h> #include <kphcomms.h> #i...
fim
winsiderss/systeminformer
c
<|fim_suffix|> PhAppendStringBuilder(Drivers, &StandardIndent); PhAppendStringBuilder(Drivers, &deviceName); if (hardwareId = PhQueryRegistryStringZ(driverKeyHandle, L"HardwareID")) { PhTrimToNullTerminat...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010 * dmex 2018-2019 * */ #include <phapp.h> #include <phplug.h> #include <procprv.h> #include <emenu.h> #include <hndlinfo.h> #inclu...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex 2019-2022 * */ #include <phapp.h> typedef struct _PH_LIVE_DUMP_CONFIG { HWND WindowHandle; PPH_STRING FileName; NTSTATUS LastStatus; BOOLEAN...
fim
winsiderss/systeminformer
c
<|fim_suffix|>to the kernel driver is restricted.", L"%s", PhGetString(infoString) ); PhDereferenceObject(infoString); } } /** * Build a long-form diagnostic string containing application and kernel * state and an optional formatted message. * * This helper assemble...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * <|fim_suffix|> { ntdllSystemCallList = PhCreateList(list->Count); for (ULONG i = 0; i < list->Count; i++) ...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2016 * dmex 2016-2021 * */ #include <phapp.h> #include <phplug.h> #include <settings.h> #include <phsettings.h> PH_CIRCULAR_BUFFE...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2016 * dmex 2014-2023 * */ #include <phapp.h> #include <phplug.h> #include <settings.h> #include <phsettings.h> #include <mainwnd.h> #include <e...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2009-2016 * dmex 2017-2023 * */ #include <phapp.h> #include <colorbox.h> #include <hexedit.h> #include <hndlinfo.h> #include <objbase.h> #include <e...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2015 * dmex 2016-2023 * */ #include <phapp.h> #include <appresolver.h> #include <settings.h> #include <phsettings.h> #include <dbg...
fim
winsiderss/systeminformer
c
<|fim_suffix|> processHandle, context->BaseAddress, context->Buffer, context->RegionSize, NULL ); NtCl...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2015 * dmex 2017-2023 * */ #include <phapp.h> #include <memlist.h> #include <emenu.h> #include <extmgri.h> #include <memprv.h> #include <settings.h...
fim
winsiderss/systeminformer
c
<|fim_suffix|>); *Message = PhFormat(format, RTL_NUMBER_OF(format), 0); } else { *Message = PhpCreateCommandStatusString(L"Unable to empty system file cache.", status); } } _Function_class_(PH_MEMORY_LIST_COMMAND_CALLBACK) VOID NTAPI PhpFlushModifiedFileCacheCommand( _In_ HWND Pare...
fim
winsiderss/systeminformer
c
<|fim_suffix|>AXINT, value, entry->VirtualAddress); for (ULONG j = 0; j < Context->ImageAddressList->Count; j++) { PPH_IMAGE_MAPPED_BASE_ENTRY image = Context->ImageAddressList->Items[j]; if ( !PhIsNullOrEmptyString(image->FileName) && image->Ima...
fim
winsiderss/systeminformer
c
<|fim_suffix|>HANDLE_WM_CTLCOLORSTATIC(hwndDlg, wParam, lParam, PhWindowThemeControlColor); } return FALSE; } <|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010 * */ #include <phap...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2015 * dmex 2017-2023 * */ #include <phapp.h> #include <memprv.h> #include <heapstruct.h> #include <settings.h> #include <phsettin...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2016 * dmex 2017-2023 * */ #include <phapp.h> #include <emenu.h> #include <mainwnd.h> #include <memsrch.h> #include <procprv.h> #i...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010 * dmex 2017-2023 * */ #include <phapp.h> #include <emenu.h> #include <mainwnd.h> #include <memsrch.h> #include <memprv.h> #include...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * jxy-s 2024 * */ #include <phapp.h> #include <emenu.h> #include <mainwnd.h> #include <memsrch.h> #include <memprv.h> #include <procprv.h> #include <se...
fim
winsiderss/systeminformer
c
<|fim_suffix|>d *elem1, _In_ const void *elem2 ) { int result; PPH_PROCESS_NODE node1 = *(PPH_PROCESS_NODE *)elem1; PPH_PROCESS_NODE node2 = *(PPH_PROCESS_NODE *)elem2; ULONG64 delta1 = node1->ProcessItem->IoReadDelta.Delta + node1->ProcessItem->IoWriteDelta.Delta + node1->ProcessItem->IoOtherDe...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2016 * dmex 2017-2023 * */ #include <phapp.h> #include <modlist.h> #include <emenu.h> #include <settings.h> #include <verify.h> ...
fim
winsiderss/systeminformer
c