NTSYSAPI NTSTATUS NTAPI
NtQuerySection(
IN HANDLE SectionHandle, IN SECTION_INFORMATION_CLASS InformationClass, OUT PVOID InformationBuffer, IN ULONG InformationBufferSize, OUT PULONG ResultLength OPTIONAL );
Use one of following:
SectionImageInformation Are avaiable only for file-based sections.