Files
systeminformer/plugins/ExtendedTools/gpusys.h
2026-07-01 14:49:04 +10:00

114 lines
1.9 KiB
C

/*
* Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved.
*
* This file is part of System Informer.
*
* Authors:
*
* wj32 2011-2015
* dmex 2016-2026
*
*/
#ifndef GPUSYS_H
#define GPUSYS_H
#define ET_GPU_PADDING 3
_Function_class_(PH_SYSINFO_SECTION_CALLBACK)
BOOLEAN EtpGpuSysInfoSectionCallback(
_In_ PPH_SYSINFO_SECTION Section,
_In_ PH_SYSINFO_SECTION_MESSAGE Message,
_In_ PVOID Parameter1,
_In_ PVOID Parameter2
);
VOID EtpInitializeGpuDialog(
VOID
);
VOID EtpUninitializeGpuDialog(
VOID
);
VOID EtpTickGpuDialog(
VOID
);
INT_PTR CALLBACK EtpGpuDialogProc(
_In_ HWND WindowHandle,
_In_ UINT WindowMessage,
_In_ WPARAM wParam,
_In_ LPARAM lParam
);
INT_PTR CALLBACK EtpGpuPanelDialogProc(
_In_ HWND WindowHandle,
_In_ UINT WindowMessage,
_In_ WPARAM wParam,
_In_ LPARAM lParam
);
VOID EtpCreateGpuGraphs(
VOID
);
VOID EtpLayoutGpuGraphs(
_In_ HWND WindowHandle
);
VOID EtpNotifyGpuGraph(
_In_ NMHDR *Header
);
VOID EtpNotifyDedicatedGpuGraph(
_In_ NMHDR *Header
);
VOID EtpNotifySharedGpuGraph(
_In_ NMHDR *Header
);
VOID EtpNotifyPowerUsageGpuGraph(
_In_ NMHDR *Header
);
VOID EtpNotifyTemperatureGpuGraph(
_In_ NMHDR *Header
);
VOID EtpNotifyFanRpmGpuGraph(
_In_ NMHDR *Header
);
VOID EtpUpdateGpuGraphs(
VOID
);
VOID EtpUpdateGpuPanel(
VOID
);
PPH_PROCESS_RECORD EtpGpuReferenceMaxNodeRecord(
_In_ LONG Index
);
PPH_STRING EtpGpuGetMaxNodeString(
_In_ LONG Index
);
PPH_STRING EtpGpuGetNameString(
VOID
);
_Function_class_(PH_GRAPH_MESSAGE_CALLBACK)
BOOLEAN EtpGpuSysInfoGraphMessageCallback(
_In_ HWND WindowHandle,
_In_ ULONG Message,
_In_ PVOID Parameter1,
_In_ PVOID Parameter2,
_In_ PVOID Context
);
#endif