ReactOS
0.4.14-dev-583-g2a1ba2c
|
Go to the source code of this file.
Macros | |
#define | PsGetCurrentProcess IoGetCurrentProcess |
#define | _PSGETCURRENTTHREAD_ |
#define PsGetCurrentProcess IoGetCurrentProcess |
$endif | ( | _WDMDDK_ | ) |
Definition at line 202 of file ke.h.
$endif | ( | _NTDDK_ | ) |
Definition at line 2487 of file iofuncs.h.
|
pure virtual |
_IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
Definition at line 21 of file psfuncs.h.
_Must_inspect_result_ _IRQL_requires_max_ | ( | APC_LEVEL | ) |
_IRQL_requires_max_ | ( | PASSIVE_LEVEL | ) |
Definition at line 64 of file Messaging.c.
_In_ ULONG _In_opt_ POBJECT_ATTRIBUTES _In_opt_ HANDLE _Out_opt_ PCLIENT_ID _In_ PKSTART_ROUTINE _In_opt_ _When_ | ( | return | = =0 , |
__drv_aliasesMem | |||
) |
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryInformationProcess | ( | _In_ HANDLE | ProcessHandle, |
_In_ PROCESSINFOCLASS | ProcessInformationClass, | ||
_Out_ PVOID | ProcessInformation, | ||
_In_ ULONG | ProcessInformationLength, | ||
_Out_opt_ PULONG | ReturnLength | ||
) |
NTKERNELAPI HANDLE NTAPI PsGetCurrentProcessId | ( | VOID | ) |
Definition at line 1123 of file process.c.
Referenced by CheckWinstaAttributeAccess(), CmpCreateRegistryRoot(), CmpDoCreateChild(), CmpDoOpen(), CreateProcessNotifyRoutine(), CreateThreadNotifyRoutine(), DbgP(), DdHmgAlloc(), DesktopWindowProc(), ENTRY_ReferenceEntryByHandle(), ExpLoadBootSymbols(), FileOpenAddress(), FltpCreate(), GDI_CleanupForProcess(), GDIOBJ_hInsertObject(), GDIOBJ_vDereferenceObject(), GDIOBJ_vSetObjectOwner(), GreGetObjectOwner(), handle_gdb_read_mem(), handle_gdb_write_mem(), IntCreateWindowStation(), IntWinStaObjectDelete(), KdInitSystem(), KsecGatherEntropyData(), LpcpDeletePort(), MmLoadSystemImage(), MmUnloadSystemImage(), NtUserLockWindowStation(), NtUserSetLogonNotifyWindow(), NtUserSetWindowStationUser(), NtUserSwitchDesktop(), NtUserUnlockWindowStation(), ObpAllocateObject(), print_error(), ReadMemorySendHandler(), VerifyObjectOwner(), and WriteMemorySendHandler().
NTKERNELAPI PVOID NTAPI PsGetCurrentThreadTeb | ( | VOID | ) |
NTKERNELAPI PEPROCESS NTAPI PsGetThreadProcess | ( | _In_ PETHREAD | Thread | ) |
NTKERNELAPI BOOLEAN NTAPI PsGetVersion | ( | OUT PULONG MajorVersion | OPTIONAL, |
OUT PULONG MinorVersion | OPTIONAL, | ||
OUT PULONG BuildNumber | OPTIONAL, | ||
OUT PUNICODE_STRING CSDVersion | OPTIONAL | ||
) |
NTKERNELAPI BOOLEAN NTAPI PsIsCurrentThreadPrefetching | ( | VOID | ) |
NTKERNELAPI BOOLEAN NTAPI PsIsSystemThread | ( | _In_ PETHREAD | Thread | ) |
NTKERNELAPI NTSTATUS NTAPI PsRemoveCreateThreadNotifyRoutine | ( | _In_ PCREATE_THREAD_NOTIFY_ROUTINE | NotifyRoutine | ) |
NTKERNELAPI NTSTATUS NTAPI PsSetCreateProcessNotifyRoutineEx | ( | IN PCREATE_PROCESS_NOTIFY_ROUTINE_EX | NotifyRoutine, |
IN BOOLEAN | Remove | ||
) |
NTKERNELAPI BOOLEAN NTAPI PsSetCurrentThreadPrefetching | ( | IN BOOLEAN | Prefetching | ) |
_Must_inspect_result_ _In_opt_ PACCESS_TOKEN _In_ BOOLEAN CopyOnOpen |
Definition at line 154 of file psfuncs.h.
Referenced by GetProcessLuid(), NtCloseObjectAuditAlarm(), NtOpenThreadTokenEx(), ObpReferenceDeviceMap(), PsImpersonateClient(), PsReferenceImpersonationToken(), and SeCaptureSubjectContextEx().
_Must_inspect_result_ _In_opt_ PACCESS_TOKEN _In_ BOOLEAN _In_ BOOLEAN EffectiveOnly |
_Must_inspect_result_ _In_opt_ PACCESS_TOKEN _In_ BOOLEAN _In_ BOOLEAN _In_ SECURITY_IMPERSONATION_LEVEL ImpersonationLevel |
Definition at line 154 of file psfuncs.h.
Referenced by DuplicateToken(), DuplicateTokenEx(), GetProcessLuid(), ImpersonateSelf(), make_impersonation_token(), NtCloseObjectAuditAlarm(), NtOpenThreadTokenEx(), ObpReferenceDeviceMap(), PsAssignImpersonationToken(), PsImpersonateClient(), PsReferenceEffectiveToken(), PsReferenceImpersonationToken(), RtlImpersonateSelf(), SeCreateClientSecurity(), SepCreateClientSecurity(), SepCreateToken(), test_ImpersonateNamedPipeClient(), and test_token_attr().
_In_ PSE_IMPERSONATION_STATE ImpersonationState |
Definition at line 189 of file psfuncs.h.
Referenced by NtOpenThreadTokenEx(), PsDisableImpersonation(), and PsRestoreImpersonation().
_Must_inspect_result_ _In_ POOL_TYPE PoolType |
int Remove |
Definition at line 110 of file psfuncs.h.
Referenced by ApphelpCacheUpdateEntry(), co_MsqPeekHardwareMessage(), DECLARE_INTERFACE_(), CIconWatcher::GetListEntry(), MsqPeekMessage(), PsSetCreateProcessNotifyRoutine(), and RtlpCoalesceFreeBlocks().
_In_ ULONG _In_opt_ POBJECT_ATTRIBUTES _In_opt_ HANDLE _Out_opt_ PCLIENT_ID _In_ PKSTART_ROUTINE StartRoutine |
Definition at line 87 of file psfuncs.h.
Referenced by InitThreadDataEx(), KeInitializeThread(), KeInitThread(), KiInitializeContextThread(), KiThreadStartup(), KmtStartThread(), PsCreateSystemThread(), PspCreateThread(), PspSystemThreadStartup(), PspUserThreadStartup(), and RtlpStartWorkerThread().
_Must_inspect_result_ _Outptr_ PETHREAD* Thread |