Process Hacker
apiimport.h
Go to the documentation of this file.
1 #ifndef _PH_APIIMPORT_H
2 #define _PH_APIIMPORT_H
3 
4 typedef NTSTATUS (NTAPI *_NtQueryInformationEnlistment)(
5  _In_ HANDLE EnlistmentHandle,
6  _In_ ENLISTMENT_INFORMATION_CLASS EnlistmentInformationClass,
7  _Out_writes_bytes_(EnlistmentInformationLength) PVOID EnlistmentInformation,
8  _In_ ULONG EnlistmentInformationLength,
9  _Out_opt_ PULONG ReturnLength
10  );
11 
12 typedef NTSTATUS (NTAPI *_NtQueryInformationResourceManager)(
13  _In_ HANDLE ResourceManagerHandle,
14  _In_ RESOURCEMANAGER_INFORMATION_CLASS ResourceManagerInformationClass,
15  _Out_writes_bytes_(ResourceManagerInformationLength) PVOID ResourceManagerInformation,
16  _In_ ULONG ResourceManagerInformationLength,
17  _Out_opt_ PULONG ReturnLength
18  );
19 
20 typedef NTSTATUS (NTAPI *_NtQueryInformationTransaction)(
21  _In_ HANDLE TransactionHandle,
22  _In_ TRANSACTION_INFORMATION_CLASS TransactionInformationClass,
23  _Out_writes_bytes_(TransactionInformationLength) PVOID TransactionInformation,
24  _In_ ULONG TransactionInformationLength,
25  _Out_opt_ PULONG ReturnLength
26  );
27 
28 typedef NTSTATUS (NTAPI *_NtQueryInformationTransactionManager)(
29  _In_ HANDLE TransactionManagerHandle,
30  _In_ TRANSACTIONMANAGER_INFORMATION_CLASS TransactionManagerInformationClass,
31  _Out_writes_bytes_(TransactionManagerInformationLength) PVOID TransactionManagerInformation,
32  _In_ ULONG TransactionManagerInformationLength,
33  _Out_opt_ PULONG ReturnLength
34  );
35 
36 #define PH_DECLARE_IMPORT(Name) _##Name Name##_Import(VOID)
37 
42 
43 #endif