[NTOSKRNL]
[reactos.git] / reactos / ntoskrnl / include / internal / ps.h
index 1d55e30..67506f8 100644 (file)
@@ -54,7 +54,7 @@
             __LINE__,                                       \
             OBJECT_TO_OBJECT_HEADER(x)->PointerCount)
 #else
-#define PSTRACE(x, ...) DPRINT(__VA_ARGS__)
+#define PSTRACE(x, fmt, ...) DPRINT(fmt, ##__VA_ARGS__)
 #define PSREFTRACE(x)
 #endif
 
@@ -300,6 +300,15 @@ PspDestroyQuotaBlock(
     IN PEPROCESS Process
 );
 
+NTSTATUS
+NTAPI
+PspSetQuotaLimits(
+    _In_ HANDLE ProcessHandle,
+    _In_ ULONG Unused,
+    _In_ PVOID QuotaLimits,
+    _In_ ULONG QuotaLimitsLength,
+    _In_ KPROCESSOR_MODE PreviousMode);
+
 #if defined(_X86_)
 //
 // VDM and LDT Support
@@ -399,6 +408,10 @@ PsChargeProcessPageFileQuota(
     IN SIZE_T Amount
 );
 
+BOOLEAN
+NTAPI
+PspIsProcessExiting(IN PEPROCESS Process);
+
 //
 // Global data inside the Process Manager
 //