From d1173a159674a98bdd192ad6e0a81a51993cda02 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Mon, 17 Feb 2020 19:44:05 +0300 Subject: [PATCH] mdbx: drop unused WindowsNT API prototypes. Change-Id: Ic929646653d0576671d6150a698e892d2145ae30 --- src/elements/osal.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/elements/osal.c b/src/elements/osal.c index ca9fadbd..14134ac4 100644 --- a/src/elements/osal.c +++ b/src/elements/osal.c @@ -67,18 +67,6 @@ typedef struct _SECTION_BASIC_INFORMATION { LARGE_INTEGER SectionSize; } SECTION_BASIC_INFORMATION, *PSECTION_BASIC_INFORMATION; -typedef enum _SECTION_INFORMATION_CLASS { - SectionBasicInformation, - SectionImageInformation, - SectionRelocationInformation, // name:wow64:whNtQuerySection_SectionRelocationInformation - MaxSectionInfoClass -} SECTION_INFORMATION_CLASS; - -extern NTSTATUS NTAPI NtQuerySection( - IN HANDLE SectionHandle, IN SECTION_INFORMATION_CLASS InformationClass, - OUT PVOID InformationBuffer, IN ULONG InformationBufferSize, - OUT PULONG ResultLength OPTIONAL); - extern NTSTATUS NTAPI NtExtendSection(IN HANDLE SectionHandle, IN PLARGE_INTEGER NewSectionSize);