NtCreateSection
C# Signature:
[DllImport("ntdll.dll", SetLastError = true, ExactSpelling = true)]
static extern UInt32 NtCreateSection(
ref IntPtr SectionHandle,
UInt32 DesiredAccess,
IntPtr ObjectAttributes,
ref UInt32 MaximumSize,
UInt32 SectionPageProtection,
UInt32 AllocationAttributes,
IntPtr FileHandle);Boo Signature:
[DllImport("ntdll.dll")]
def NtCreateSection(ref SectionHandle as IntPtr, DesiredAccess as UInt32, ObjectAttributes as IntPtr, ref MaximumSize as LARGE_INTEGER, SectionPageProtection as UInt32, AllocationAttributes as UInt32, FileHandle as IntPtr) as UInt32:
passUser-Defined Types:
[StructLayout(LayoutKind.Explicit, Size:8)]
struct LARGE_INTEGER:
[FieldOffset(0)]QuadPart as UInt64
[FieldOffset(0)]LowPart as UInt32
[FieldOffset(4)]HighPart as UInt32C# Code:
Última actualización