ReactOS 0.4.16-dev-387-g0743faf
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
NTSTATUS NTAPI NtCreateProcess | ( | OUT PHANDLE | ProcessHandle, |
IN ACCESS_MASK | DesiredAccess, | ||
IN POBJECT_ATTRIBUTES ObjectAttributes | OPTIONAL, | ||
IN HANDLE | ParentProcess, | ||
IN BOOLEAN | InheritObjectTable, | ||
IN HANDLE SectionHandle | OPTIONAL, | ||
IN HANDLE DebugPort | OPTIONAL, | ||
IN HANDLE ExceptionPort | OPTIONAL | ||
) |
Definition at line 1405 of file process.c.
NTSTATUS NTAPI NtCreateProcessEx | ( | OUT PHANDLE | ProcessHandle, |
IN ACCESS_MASK | DesiredAccess, | ||
IN POBJECT_ATTRIBUTES ObjectAttributes | OPTIONAL, | ||
IN HANDLE | ParentProcess, | ||
IN ULONG | Flags, | ||
IN HANDLE SectionHandle | OPTIONAL, | ||
IN HANDLE DebugPort | OPTIONAL, | ||
IN HANDLE ExceptionPort | OPTIONAL, | ||
IN BOOLEAN | InJob | ||
) |
Definition at line 1344 of file process.c.
Referenced by CreateProcessInternalW(), and NtCreateProcess().
NTSTATUS NTAPI NtOpenProcess | ( | OUT PHANDLE | ProcessHandle, |
IN ACCESS_MASK | DesiredAccess, | ||
IN POBJECT_ATTRIBUTES | ObjectAttributes, | ||
IN PCLIENT_ID | ClientId | ||
) |
Definition at line 1440 of file process.c.
Referenced by CSR_API(), LsapAddNotification(), LsapCheckLogonProcess(), LsapEnumLogonSessions(), LsapGetLogonSessionData(), Main(), OpenProcess(), PrintProcess(), ProcessIdToHandle(), ProcessIdToSessionId(), RtlQueryProcessDebugInformation(), SmpExecPgm(), SmpHandleConnectionRequest(), and UserpFormatMessages().
Definition at line 235 of file process.c.
Referenced by PspInitPhase0(), and SSI_DEF().
NTSTATUS NTAPI PsCreateSystemProcess | ( | OUT PHANDLE | ProcessHandle, |
IN ACCESS_MASK | DesiredAccess, | ||
IN POBJECT_ATTRIBUTES | ObjectAttributes | ||
) |
Definition at line 898 of file process.c.
Definition at line 1123 of file process.c.
Referenced by CheckWinstaAttributeAccess(), CmpCreateRegistryRoot(), CmpDoCreateChild(), CmpDoOpen(), CODE_SEG(), CreateProcessNotifyRoutine(), CreateThreadNotifyRoutine(), DbgP(), DdHmgAlloc(), DesktopWindowProc(), DispEchoRequest(), ENTRY_ReferenceEntryByHandle(), FileOpenAddress(), FltpCreate(), GDI_CleanupForProcess(), GDIOBJ_ConvertFromStockObj(), GDIOBJ_hInsertObject(), GDIOBJ_vDereferenceObject(), GDIOBJ_vSetObjectOwner(), GreGetObjectOwner(), handle_gdb_read_mem(), handle_gdb_write_mem(), IntCreateWindowStation(), IntWinStaObjectDelete(), KdInitSystem(), KsecGatherEntropyData(), LpcpDeletePort(), MmLoadSystemImage(), MmUnloadSystemImage(), NtUserGetThreadState(), NtUserLockWindowStation(), NtUserSetLogonNotifyWindow(), NtUserSetWindowStationUser(), NtUserSwitchDesktop(), NtUserUnlockWindowStation(), ObpAllocateObject(), print_error(), ReadMemorySendHandler(), SepCreateToken(), SepDuplicateToken(), SepPerformTokenFiltering(), VerifyObjectOwner(), and WriteMemorySendHandler().
Definition at line 1133 of file process.c.
Referenced by ExpWin32SessionCallout(), IntCreateDesktop(), IntDestroyMenuObject(), NtSetInformationObject(), NtUserSwitchDesktop(), ObpLookupObjectName(), and VideoPortUseDeviceInSession().
Definition at line 1183 of file process.c.
Referenced by _Function_class_(), CheckWinstaAttributeAccess(), co_IntGraphicsCheck(), co_IntSetParent(), co_IntSetWindowLongPtr(), co_IntUserManualGuiCheck(), co_UserDestroyWindow(), DC_bAllocDcAttr(), DC_vFreeDcAttr(), DecrementCurrentProcessGdiHandleCount(), DesktopHeapAddressToUser(), DesktopHeapGetUserDelta(), FontLink_PrepareFontInfo(), GDI_CleanupForProcess(), GetBrushAttrPool(), GetControlColor(), GetFontFamilyInfoForSubstitutes(), GetW32ProcessInfo(), handle_internal_message(), IdlePing(), IdlePong(), IncrementCurrentProcessGdiHandleCount(), IntAllowSetForegroundWindow(), IntGdiAddFontMemResource(), IntGdiCleanupPrivateFontsForProcess(), IntGdiLoadFontsFromMemory(), IntGdiRemoveFontMemResource(), IntGdiSetRegionOwner(), IntGetFontFamilyInfo(), IntLoadHookModule(), IntLoadSystenIcons(), IntLockSetForegroundWindow(), IntMapDesktopView(), IntUnmapDesktopView(), IntWinStaOkToClose(), NtUserCallHwndParam(), NtUserCallOneParam(), NtUserDestroyCursor(), NtUserFindExistingCursorIcon(), NtUserGetComboBoxInfo(), NtUserGetListBoxInfo(), NtUserSetSystemCursor(), NtUserSetWindowFNID(), REGION_bAllocRgnAttr(), REGION_vCleanup(), TextIntRealizeFont(), UserDbgAssertThreadInfo(), UserGetDCEx(), UserGetProcessWindowStation(), UserHeapAddressToUser(), UserSetProcessWindowStation(), UserSystemParametersInfo(), and UserUnregisterUserApiHook().
Definition at line 128 of file process.c.
Referenced by DbgkpCloseObject(), ExpDebuggerWorker(), PopGracefulShutdown(), PsChangeQuantumTable(), PspShutdownProcessManager(), and QSI_DEF().
Definition at line 75 of file process.c.
Referenced by DbgkpPostFakeThreadMessages(), DbgkpSetProcessDebugObject(), ExSwapinWorkerThreads(), NtSetInformationThread(), NtTerminateProcess(), PspTerminateProcess(), PsResumeProcess(), and PsSuspendProcess().
Definition at line 1043 of file process.c.
Referenced by NtUserWaitForInputIdle().
Definition at line 1053 of file process.c.
Referenced by ExitThreadCallback().
LARGE_INTEGER NTAPI PsGetProcessExitTime | ( | VOID | ) |
Definition at line 1063 of file process.c.
Referenced by IntHookModuleUnloaded(), IntLoadHookModule(), UserProcessCreate(), UserRegisterUserApiHook(), and UserUnregisterUserApiHook().
Definition at line 1163 of file process.c.
Referenced by NtAssignProcessToJobObject(), NtCreateJobObject(), NtQueryInformationProcess(), and NtSetInformationProcess().
Definition at line 1193 of file process.c.
Referenced by AllocW32Process(), DecrementGdiHandleCount(), ExitProcessCallback(), GdiProcessCreate(), GdiProcessDestroy(), IncrementGdiHandleCount(), InitProcessCallback(), InitThreadCallback(), IntAllowSetForegroundWindow(), IntDesktopObjectClose(), IntDesktopObjectOpen(), IntHookModuleUnloaded(), IntResolveDesktop(), MapGlobalUserHeap(), NtUserProcessConnect(), UnmapGlobalUserHeap(), UserInitiateShutdown(), UserProcessCreate(), UserProcessDestroy(), and UserRegisterUserApiHook().
Definition at line 1203 of file process.c.
Referenced by UserSetProcessWindowStation().
Definition at line 1223 of file process.c.
Referenced by IntHookModuleUnloaded(), and UserRegisterUserApiHook().
Definition at line 919 of file process.c.
Referenced by co_IntRegisterLogonProcess(), DecrementGdiHandleCount(), IncrementGdiHandleCount(), IntAllowSetForegroundWindow(), KdbpAttachToProcess(), KdbpCmdProc(), KdbpCmdThread(), and NtOpenProcess().
NTSTATUS NTAPI PsLookupProcessThreadByCid | ( | IN PCLIENT_ID | Cid, |
OUT PEPROCESS *Process | OPTIONAL, | ||
OUT PETHREAD * | Thread | ||
) |
Definition at line 961 of file process.c.
Referenced by LpcpCopyRequestData(), NtAcceptConnectPort(), NtImpersonateClientOfPort(), NtOpenProcess(), NtOpenThread(), NtReplyPort(), and NtReplyWaitReceivePortEx().
KPRIORITY NTAPI PspComputeQuantumAndPriority | ( | IN PEPROCESS | Process, |
IN PSPROCESSPRIORITYMODE | Mode, | ||
OUT PUCHAR | Quantum | ||
) |
Definition at line 174 of file process.c.
Referenced by PspCreateProcess(), and PsSetProcessPriorityByClass().
NTSTATUS NTAPI PspCreateProcess | ( | OUT PHANDLE | ProcessHandle, |
IN ACCESS_MASK | DesiredAccess, | ||
IN POBJECT_ATTRIBUTES ObjectAttributes | OPTIONAL, | ||
IN HANDLE ParentProcess | OPTIONAL, | ||
IN ULONG | Flags, | ||
IN HANDLE SectionHandle | OPTIONAL, | ||
IN HANDLE DebugPort | OPTIONAL, | ||
IN HANDLE ExceptionPort | OPTIONAL, | ||
IN BOOLEAN | InJob | ||
) |
Definition at line 347 of file process.c.
Referenced by NtCreateProcessEx(), PsCreateSystemProcess(), and PspInitPhase0().
Definition at line 1325 of file process.c.
Referenced by NtSetInformationProcess().
NTSTATUS NTAPI PsSetProcessWin32Process | ( | _Inout_ PEPROCESS | Process, |
_In_opt_ PVOID | Win32Process, | ||
_In_opt_ PVOID | OldWin32Process | ||
) |
Definition at line 1257 of file process.c.
Referenced by AllocW32Process(), and ExitProcessCallback().
Definition at line 1314 of file process.c.
Referenced by UserSetProcessWindowStation().
LIST_ENTRY PsActiveProcessHead |
Definition at line 22 of file process.c.
Referenced by KdbpCmdProc(), PsGetNextProcess(), PspCreateProcess(), and PspInitPhase0().
ULONG PsMaximumWorkingSet |
Definition at line 18 of file process.c.
Referenced by PspCreateProcess().
|
extern |
Definition at line 54 of file psmgr.c.
Referenced by PspCreateProcess(), and PspInitPhase0().
KGUARDED_MUTEX PspActiveProcessMutex |
Definition at line 23 of file process.c.
Referenced by PsGetNextProcess(), PspCreateProcess(), PspDeleteProcess(), and PspInitPhase0().
CHAR PspFixedQuantums[6] |
Definition at line 32 of file process.c.
Referenced by PsChangeQuantumTable().
CHAR PspForegroundQuantum[3] |
Definition at line 29 of file process.c.
Referenced by PsChangeQuantumTable(), and PspComputeQuantumAndPriority().
KPRIORITY PspPriorityTable[PROCESS_PRIORITY_CLASS_ABOVE_NORMAL+1] |
Definition at line 60 of file process.c.
Referenced by PspComputeQuantumAndPriority().
ULONG PsPrioritySeparation |
Definition at line 28 of file process.c.
Referenced by KiDeferredReadyThread(), PsChangeQuantumTable(), and PspComputeQuantumAndPriority().
POBJECT_TYPE PsProcessType = NULL |
Definition at line 20 of file process.c.
Referenced by DbgkpOpenHandles(), IntResolveDesktop(), MiQueryMemoryBasicInformation(), NtAllocateVirtualMemory(), NtAssignProcessToJobObject(), NtCreateProfile(), NtDebugActiveProcess(), NtDuplicateObject(), NtFlushInstructionCache(), NtFlushVirtualMemory(), NtFreeVirtualMemory(), NtGetWriteWatch(), NtIsProcessInJob(), NtLockVirtualMemory(), NtMapViewOfSection(), NtOpenProcess(), NtProtectVirtualMemory(), NtQueryInformationProcess(), NtReadVirtualMemory(), NtRemoveProcessDebug(), NtResetWriteWatch(), NtResumeProcess(), NtSetInformationProcess(), NtSuspendProcess(), NtTerminateProcess(), NtUnlockVirtualMemory(), NtUnmapViewOfSection(), NtUserGetGuiResources(), NtUserProcessConnect(), NtUserResolveDesktop(), NtUserWaitForInputIdle(), NtWriteVirtualMemory(), ObReferenceObjectByHandle(), PsOpenTokenOfProcess(), PspCreateProcess(), PspCreateThread(), PspInitPhase0(), PspSetPrimaryToken(), START_TEST(), and TestObjectTypes().
CHAR PspVariableQuantums[6] |
Definition at line 46 of file process.c.
Referenced by PsChangeQuantumTable().
ULONG PsRawPrioritySeparation |
Definition at line 27 of file process.c.
Referenced by PspInitPhase0().
LARGE_INTEGER ShortPsLockDelay |