summaryrefslogtreecommitdiff
path: root/include/arch
diff options
context:
space:
mode:
authorIvan Zhakov <ivan@apache.org>2019-09-07 19:02:11 +0000
committerIvan Zhakov <ivan@apache.org>2019-09-07 19:02:11 +0000
commiteecc11d55c460964ea53961d29d1cafc37fb378e (patch)
tree29b98dd0ef6b0f6123ba87765d6e4a1ce93ae69d /include/arch
parentf0bd32112aa0e994e81696a81ddbebfcc8cf6bc9 (diff)
downloadapr-eecc11d55c460964ea53961d29d1cafc37fb378e.tar.gz
win32: Remove unused code.
* include/arch/win32/apr_arch_misc.h (PBI, apr_winapi_NtQueryInformationProcess, apr_winapi_NtQueryObject): Remove. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1866564 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/arch')
-rw-r--r--include/arch/win32/apr_arch_misc.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/include/arch/win32/apr_arch_misc.h b/include/arch/win32/apr_arch_misc.h
index ed5670f08..a8a3320dd 100644
--- a/include/arch/win32/apr_arch_misc.h
+++ b/include/arch/win32/apr_arch_misc.h
@@ -257,33 +257,6 @@ APR_DECLARE_LATE_DLL_FUNC(DLL_NTDLL, LONG, WINAPI, NtSetTimerResolution, 0, (
(ReqRes, Acquire, pNewRes));
#define SetTimerResolution apr_winapi_NtSetTimerResolution
-typedef struct PBI {
- LONG ExitStatus;
- PVOID PebBaseAddress;
- apr_uintptr_t AffinityMask;
- LONG BasePriority;
- apr_uintptr_t UniqueProcessId;
- apr_uintptr_t InheritedFromUniqueProcessId;
-} PBI, *PPBI;
-
-APR_DECLARE_LATE_DLL_FUNC(DLL_NTDLL, LONG, WINAPI, NtQueryInformationProcess, 0, (
- HANDLE hProcess, /* Obvious */
- INT info, /* Use 0 for PBI documented above */
- PVOID pPI, /* The PIB buffer */
- ULONG LenPI, /* Use sizeof(PBI) */
- ULONG *pSizePI), /* returns pPI buffer used (may pass NULL) */
- (hProcess, info, pPI, LenPI, pSizePI));
-#define QueryInformationProcess apr_winapi_NtQueryInformationProcess
-
-APR_DECLARE_LATE_DLL_FUNC(DLL_NTDLL, LONG, WINAPI, NtQueryObject, 0, (
- HANDLE hObject, /* Obvious */
- INT info, /* Use 0 for PBI documented above */
- PVOID pOI, /* The PIB buffer */
- ULONG LenOI, /* Use sizeof(PBI) */
- ULONG *pSizeOI), /* returns pPI buffer used (may pass NULL) */
- (hObject, info, pOI, LenOI, pSizeOI));
-#define QueryObject apr_winapi_NtQueryObject
-
/* https://docs.microsoft.com/en-us/windows/desktop/api/winternl/nf-winternl-ntwaitforsingleobject */
APR_DECLARE_LATE_DLL_FUNC(DLL_NTDLL, LONG, WINAPI, NtWaitForSingleObject, 0, (
HANDLE Handle, /* The handle to the wait object. */