|
ReactOS 0.4.17-dev-1196-gb6224c3
|
#include <ntoskrnl.h>#include <debug.h>
Go to the source code of this file.
Macros | |
| #define | NDEBUG |
| _IRQL_requires_max_ | ( | PASSIVE_LEVEL | ) |
Definition at line 1658 of file process.c.
| 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 1445 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 1384 of file process.c.
Referenced by CreateProcessInternalW(), and NtCreateProcess().
| NTSTATUS NTAPI NtGetNextProcess | ( | _In_opt_ HANDLE | ProcessHandle, |
| _In_ ACCESS_MASK | DesiredAccess, | ||
| _In_ ULONG | HandleAttributes, | ||
| _In_ ULONG | Flags, | ||
| _Out_ PHANDLE | NewProcessHandle | ||
| ) |
Definition at line 1703 of file process.c.
| NTSTATUS NTAPI NtGetNextThread | ( | _In_ HANDLE | ProcessHandle, |
| _In_opt_ HANDLE | ThreadHandle, | ||
| _In_ ACCESS_MASK | DesiredAccess, | ||
| _In_ ULONG | HandleAttributes, | ||
| _In_opt_ _Reserved_ ULONG | Flags, | ||
| _Out_ PHANDLE | NewThreadHandle | ||
| ) |
Definition at line 1809 of file process.c.
Referenced by test_zero_access().
| NTSTATUS NTAPI NtOpenProcess | ( | OUT PHANDLE | ProcessHandle, |
| IN ACCESS_MASK | DesiredAccess, | ||
| IN POBJECT_ATTRIBUTES | ObjectAttributes, | ||
| IN PCLIENT_ID | ClientId | ||
| ) |
Definition at line 1480 of file process.c.
Referenced by CSR_API(), LsapAddNotification(), LsapCheckLogonProcess(), LsapEnumLogonSessions(), LsapGetLogonSessionData(), Main(), OpenProcess(), PrintProcess(), ProcessIdToHandle(), ProcessIdToSessionId(), RtlQueryProcessDebugInformation(), SmpExecPgm(), SmpHandleConnectionRequest(), test_query_process(), and UserpFormatMessages().
Definition at line 245 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 938 of file process.c.
Definition at line 1163 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 1173 of file process.c.
Referenced by ExpWin32SessionCallout(), IntCreateDesktopSwitchEvent(), IntCreateWindowStation(), IntDesktopObjectParse(), IntDestroyMenuObject(), NtSetInformationObject(), NtUserSwitchDesktop(), ObpLookupObjectName(), UserCreateWinstaDirectory(), and VideoPortUseDeviceInSession().
Definition at line 1223 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(), IntFixWindowCoordinates(), 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 177 of file process.c.
Referenced by PsChangeQuantumTable().
|
static |
Definition at line 129 of file process.c.
Referenced by NtGetNextProcess(), and PsGetNextProcess().
Definition at line 75 of file process.c.
Referenced by DbgkpPostFakeThreadMessages(), DbgkpSetProcessDebugObject(), ExSwapinWorkerThreads(), NtGetNextThread(), NtSetInformationThread(), NtTerminateProcess(), PspTerminateProcess(), PsResumeProcess(), and PsSuspendProcess().
Definition at line 1083 of file process.c.
Referenced by NtUserWaitForInputIdle().
Definition at line 1093 of file process.c.
Referenced by ExitThreadCallback().
| LARGE_INTEGER NTAPI PsGetProcessExitTime | ( | VOID | ) |
Definition at line 1103 of file process.c.
Referenced by IntHookModuleUnloaded(), IntLoadHookModule(), NpGetConnectionAttribute(), UserProcessCreate(), UserRegisterUserApiHook(), and UserUnregisterUserApiHook().
Definition at line 1133 of file process.c.
Referenced by IntJobSetRestrictions().
Definition at line 1203 of file process.c.
Referenced by NpGetConnectionAttribute(), NtAssignProcessToJobObject(), NtCreateJobObject(), NtQueryInformationProcess(), and NtSetInformationProcess().
Definition at line 1233 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 1243 of file process.c.
Referenced by UserSetProcessWindowStation().
Definition at line 1263 of file process.c.
Referenced by IntHookModuleUnloaded(), and UserRegisterUserApiHook().
Definition at line 959 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 1001 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 184 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 357 of file process.c.
Referenced by NtCreateProcessEx(), PsCreateSystemProcess(), and PspInitPhase0().
Definition at line 1365 of file process.c.
Referenced by NtSetInformationProcess().
| NTSTATUS NTAPI PsSetProcessWin32Process | ( | _Inout_ PEPROCESS | Process, |
| _In_opt_ PVOID | Win32Process, | ||
| _In_opt_ PVOID | OldWin32Process | ||
| ) |
Definition at line 1297 of file process.c.
Referenced by AllocW32Process(), and ExitProcessCallback().
Definition at line 1354 of file process.c.
Referenced by UserSetProcessWindowStation().
| LIST_ENTRY PsActiveProcessHead |
Definition at line 22 of file process.c.
Referenced by KdbpCmdProc(), PsGetNextProcessEx(), 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 PsGetNextProcessEx(), 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(), NtGetNextProcess(), NtGetNextThread(), 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 |