mirror-ac/service/Types.cs
lhodges1 4321236a0f e
2023-08-19 19:44:42 +10:00

71 lines
1.9 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace service
{
namespace Types
{
[StructLayout(LayoutKind.Explicit)]
public unsafe struct MODULE_VERIFICATION_CHECKSUM_FAILURE
{
[FieldOffset(0)]
public int ReportCode;
[FieldOffset(0)]
public UInt64 ModuleBaseAddress;
[FieldOffset(0)]
public UInt64 ModuleSize;
[FieldOffset(0)]
public fixed char ModuleName[512];
}
public struct PROCESS_THREAD_START_FAILURE
{
public int ReportCode;
public long ThreadId;
public UInt64 StartAddress;
}
public struct PAGE_PROTECTION_FAILURE
{
public int ReportCode;
public UInt64 PageBaseAddress;
public long AllocationProtection;
public long AllocationState;
public long AllocationType;
}
public struct PATTERN_SCAN_FAILURE
{
public int ReportCode;
public int SignatureId;
public UInt64 Address;
}
public struct NMI_CALLBACK_FAILURE
{
public int ReportCode;
public int WereNmisDisabled;
public UInt64 KThreadAddress;
public UInt64 InvalidRip;
}
[StructLayout(LayoutKind.Explicit)]
public unsafe struct MODULE_VALIDATION_FAILURE
{
[FieldOffset(0)]
public int ReportCode;
[FieldOffset(0)]
public int ReportType;
[FieldOffset(0)]
public UInt64 DriverBaseAddress;
[FieldOffset(0)]
public UInt64 DriverSize;
[FieldOffset(0)]
public fixed char ModuleName[128];
}
}
}