NtCreateSectionEx

NTSTATUS __stdcall NtCreateSectionEx(
        PHANDLE SectionHandle,
        ACCESS_MASK DesiredAccess,
        POBJECT_ATTRIBUTES ObjectAttributes,
        PLARGE_INTEGER MaximumSize,
        UINT32 SectionPageProtection,
        UINT32 AllocationAttributes,
        HANDLE FileHandle,
        PMEM_EXTENDED_PARAMETER ExtendedParameters,
        UINT32 ExtendedParameterCount){
  LARGE_INTEGER *InputMaximumSize; 
  UINT64 a6; 
  ULONGLONG ullMultiplicand; 
  LODWORD(ullMultiplicand) = ExtendedParameterCount;
  LODWORD(a6) = AllocationAttributes;
  LODWORD(InputMaximumSize) = SectionPageProtection;
  return MiCreateSectionCommon(
           (UINT64)SectionHandle,
           *(UINT64 *)&DesiredAccess,
           ObjectAttributes,
           (UINT64 *)&MaximumSize->QuadPart,
           InputMaximumSize,
           a6,
           FileHandle,
           ExtendedParameters,
           ullMultiplicand);
}

Referenced by:

No references.