Remove legacy macros wrappers
@@ -2043,136 +2043,4 @@ PhGetSystemShadowStackInformation(
);
}
-
-FORCEINLINE
-NTSTATUS
-PhGetSystemProcessorPerformanceInformation(
- _Out_ PSYSTEM_PROCESSOR_PERFORMANCE_INFORMATION Buffer,
- _In_ ULONG BufferLength
- )
-{
- return NtQuerySystemInformation(
- SystemProcessorPerformanceInformation,
- Buffer,
- BufferLength,
- NULL
- );
-}
-
-FORCEINLINE
-NTSTATUS
-PhGetSystemProcessorPerformanceInformationEx(
- _In_ USHORT ProcessorGroup,
- _Out_ PSYSTEM_PROCESSOR_PERFORMANCE_INFORMATION Buffer,
- _In_ ULONG BufferLength
- )
-{
- return NtQuerySystemInformationEx(
- SystemProcessorPerformanceInformation,
- &ProcessorGroup,
- sizeof(USHORT),
- Buffer,
- BufferLength,
- NULL
- );
-}
-
-FORCEINLINE
-NTSTATUS
-PhGetSystemProcessorIdleCycleTime(
- _Out_ PLARGE_INTEGER Buffer,
- _In_ ULONG BufferLength
- )
-{
- return NtQuerySystemInformation(
- SystemProcessorIdleCycleTimeInformation,
- Buffer,
- BufferLength,
- NULL
- );
-}
-
-FORCEINLINE
-NTSTATUS
-PhGetSystemProcessorIdleCycleTimeEx(
- _In_ USHORT ProcessorGroup,
- _Out_ PLARGE_INTEGER Buffer,
- _In_ ULONG BufferLength
- )
-{
- return NtQuerySystemInformationEx(
- SystemProcessorIdleCycleTimeInformation,
- &ProcessorGroup,
- sizeof(USHORT),
- Buffer,
- BufferLength,
- NULL
- );
-}
-
-FORCEINLINE
-NTSTATUS
-PhGetSystemProcessorCycleTime(
- _Out_ PLARGE_INTEGER Buffer,
- _In_ ULONG BufferLength
- )
-{
- return NtQuerySystemInformation(
- SystemProcessorCycleTimeInformation,
- Buffer,
- BufferLength,
- NULL
- );
-}
-
-FORCEINLINE
-NTSTATUS
-PhGetSystemProcessorCycleTimeEx(
- _In_ USHORT ProcessorGroup,
- _Out_ PLARGE_INTEGER Buffer,
- _In_ ULONG BufferLength
- )
-{
- return NtQuerySystemInformationEx(
- SystemProcessorCycleTimeInformation,
- &ProcessorGroup,
- sizeof(USHORT),
- Buffer,
- BufferLength,
- NULL
- );
-}
-
-FORCEINLINE
-NTSTATUS
-PhGetSystemInterruptInformation(
- _Out_ PSYSTEM_INTERRUPT_INFORMATION Buffer,
- _In_ ULONG BufferLength
- )
-{
- return NtQuerySystemInformation(
- SystemInterruptInformation,
- Buffer,
- BufferLength,
- NULL
- );
-}
-
-FORCEINLINE
-NTSTATUS
-PhGetSystemInterruptInformationEx(
- _In_ USHORT ProcessorGroup,
- _Out_ PSYSTEM_INTERRUPT_INFORMATION Buffer,
- _In_ ULONG BufferLength
- )
-{
- return NtQuerySystemInformationEx(
- SystemInterruptInformation,
- &ProcessorGroup,
- sizeof(USHORT),
- Buffer,
- BufferLength,
- NULL
- );
-}
#endif
