- Fix _PsProcessType for MSVC compilation.

svn path=/trunk/; revision=25364
This commit is contained in:
Alex Ionescu 2007-01-08 07:42:38 +00:00
parent 013562e393
commit 1c15cd5161
3 changed files with 3 additions and 2 deletions

View file

@ -381,7 +381,7 @@ extern PVOID PspSystemDllBase;
extern BOOLEAN PspUseJobSchedulingClasses; extern BOOLEAN PspUseJobSchedulingClasses;
extern CHAR PspJobSchedulingClasses[PSP_JOB_SCHEDULING_CLASSES]; extern CHAR PspJobSchedulingClasses[PSP_JOB_SCHEDULING_CLASSES];
extern ULONG PsRawPrioritySeparation; extern ULONG PsRawPrioritySeparation;
extern POBJECT_TYPE _PsThreadType; extern POBJECT_TYPE _PsThreadType, _PsProcessType;
extern PTOKEN PspBootAccessToken; extern PTOKEN PspBootAccessToken;
extern GENERIC_MAPPING PspJobMapping; extern GENERIC_MAPPING PspJobMapping;
extern POBJECT_TYPE PsJobType; extern POBJECT_TYPE PsJobType;

View file

@ -64,6 +64,7 @@
// //
#define IoFileObjectType _IoFileObjectType #define IoFileObjectType _IoFileObjectType
#define PsThreadType _PsThreadType #define PsThreadType _PsThreadType
#define PsProcessType _PsProcessType
#define ExEventObjectType _ExEventObjectType #define ExEventObjectType _ExEventObjectType
#define ExSemaphoreObjectType _ExSemaphoreObjectType #define ExSemaphoreObjectType _ExSemaphoreObjectType
#define KdDebuggerEnabled _KdDebuggerEnabled #define KdDebuggerEnabled _KdDebuggerEnabled

View file

@ -940,7 +940,7 @@ PsJobType DATA
PsLookupProcessByProcessId@8 PsLookupProcessByProcessId@8
PsLookupProcessThreadByCid@12 PsLookupProcessThreadByCid@12
PsLookupThreadByThreadId@8 PsLookupThreadByThreadId@8
PsProcessType DATA PsProcessType=_PsProcessType
PsReferenceImpersonationToken@16 PsReferenceImpersonationToken@16
PsReferencePrimaryToken@4 PsReferencePrimaryToken@4
PsRemoveCreateThreadNotifyRoutine@4 PsRemoveCreateThreadNotifyRoutine@4