Files
mirror-processhacker/2.x/trunk/phlib/include/ntimport.h
T
wj32 f4009aaa4a * adding ability to unload WOW64 modules (not working yet)
* no longer uses RtlQueryProcessDebugInformation to get WOW64 modules
* renamed header guards
* updated CHANGELOG.txt

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3436 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-07-26 11:01:35 +00:00

30 lines
824 B
C

#ifndef _NTIMPORT_H
#define _NTIMPORT_H
#ifdef NTIMPORT_PRIVATE
#define EXT
#define EQNULL = NULL
#else
#define EXT extern
#define EQNULL
#endif
// Only functions appearing in Windows XP and below may be
// imported normally. The other functions are imported here.
#if !(PHNT_VERSION >= PHNT_WS03)
EXT _NtGetNextProcess NtGetNextProcess EQNULL;
EXT _NtGetNextThread NtGetNextThread EQNULL;
#endif
#if !(PHNT_VERSION >= PHNT_VISTA)
EXT _NtQueryInformationEnlistment NtQueryInformationEnlistment EQNULL;
EXT _NtQueryInformationResourceManager NtQueryInformationResourceManager EQNULL;
EXT _NtQueryInformationTransaction NtQueryInformationTransaction EQNULL;
EXT _NtQueryInformationTransactionManager NtQueryInformationTransactionManager EQNULL;
#endif
BOOLEAN PhInitializeImports();
#endif