Reactos

[NTOSKRNL][NDK] Get rid of SECTION_OBJECT typedef

We will use the more recent SECTION (already used in ARM3) and this will avoid confusions

+3 -16
+2 -2
ntoskrnl/mm/ARM3/section.c
··· 1700 1700 NTAPI 1701 1701 MmGetFileObjectForSection(IN PVOID SectionObject) 1702 1702 { 1703 - PSECTION_OBJECT Section; 1703 + PSECTION Section; 1704 1704 ASSERT(KeGetCurrentIrql() == PASSIVE_LEVEL); 1705 1705 ASSERT(SectionObject != NULL); 1706 1706 ··· 1773 1773 NTAPI 1774 1774 MmGetImageInformation (OUT PSECTION_IMAGE_INFORMATION ImageInformation) 1775 1775 { 1776 - PSECTION_OBJECT SectionObject; 1776 + PSECTION SectionObject; 1777 1777 1778 1778 /* Get the section object of this process*/ 1779 1779 SectionObject = PsGetCurrentProcess()->SectionObject;
+1 -1
ntoskrnl/ps/process.c
··· 358 358 PEPROCESS Process, Parent; 359 359 PVOID ExceptionPortObject; 360 360 PDEBUG_OBJECT DebugObject; 361 - PSECTION_OBJECT SectionObject; 361 + PSECTION SectionObject; 362 362 NTSTATUS Status, AccessStatus; 363 363 ULONG_PTR DirectoryTableBase[2] = {0,0}; 364 364 KAFFINITY Affinity;
-13
sdk/include/ndk/mmtypes.h
··· 624 624 } SEGMENT_OBJECT, *PSEGMENT_OBJECT; 625 625 626 626 // 627 - // Section Object 628 - // 629 - typedef struct _SECTION_OBJECT 630 - { 631 - PVOID StartingVa; 632 - PVOID EndingVa; 633 - PVOID Parent; 634 - PVOID LeftChild; 635 - PVOID RightChild; 636 - PSEGMENT_OBJECT Segment; 637 - } SECTION_OBJECT, *PSECTION_OBJECT; 638 - 639 - // 640 627 // Generic Address Range Structure 641 628 // 642 629 typedef struct _ADDRESS_RANGE