#include "precomp.h"
Go to the source code of this file.
Functions | |
NTSTATUS | OpenEffectiveToken (PHANDLE phToken) |
NTSTATUS | GetProcessLuid (PETHREAD Thread, PLUID LuidProcess) |
BOOLEAN | IsRestricted (PETHREAD Thread) |
NTSTATUS | CreateSystemThread (PKSTART_ROUTINE lpThreadAddress, PVOID pvContext, PHANDLE phThread) |
NTSTATUS | InitSystemThread (PUNICODE_STRING pstrThreadName) |
VOID | UserRtlRaiseStatus (NTSTATUS Status) |
NTSTATUS | CommitReadOnlyMemory (HANDLE hSection, PSIZE_T pCommitSize, DWORD dwCommitOffset, int *pdCommit) |
PKEVENT | CreateKernelEvent (IN EVENT_TYPE Type, IN BOOLEAN State) |
VOID | LockObjectAssignment (PVOID *pplock, PVOID pobject) |
VOID | UnlockObjectAssignment (PVOID *pplock) |
VOID | UserDereferenceObject (PVOID pobj) |
NTSTATUS | ProtectHandle (IN HANDLE Handle, IN BOOLEAN Protect) |
|
Definition at line 278 of file ex.c. References MmMapViewOfSection(), MmUnmapViewOfSection(), NT_SUCCESS, NTSTATUS(), NULL, PAGE_SIZE, PBYTE, PsGetCurrentProcess, and Status. Referenced by HMGrowHandleTable(), HMInitHandleTable(), UserCommitDesktopMemory(), and UserCommitSharedMemory().
|
|
Definition at line 346 of file ex.c. References KeInitializeEvent, and NULL. Referenced by CreateDeviceInfo(), RawInputThread(), RemoteConnect(), UserInitialize(), xxxDesktopThread(), and xxxInitInput().
|
|
Definition at line 131 of file ex.c. References CheckCritOut, gpepCSRSS, KernelMode, NT_SUCCESS, NTSTATUS(), NULL, ObOpenObjectByPointer(), PsCreateSystemThread(), and Status. Referenced by VideoPortCallout(), xxxInitInput(), and xxxInitTerminal().
|
|
Definition at line 50 of file ex.c. References NTSTATUS(), NULL, ObDereferenceObject, PsGetCurrentThread, PsReferenceImpersonationToken(), PsReferencePrimaryToken(), SeQueryAuthenticationIdToken(), Status, and _ETHREAD::ThreadsProcess. Referenced by EndShutdown(), InitiateShutdown(), InitPreviousUserString(), NtUserCreateWindowStation(), NtUserOpenWindowStation(), NtUserPostThreadMessage(), OpenDesktopCompletion(), xxxCreateDesktop2(), xxxInitProcessInfo(), xxxResolveDesktop(), and xxxUpdatePerUserAccessPackSettings().
|
|
Definition at line 191 of file ex.c. References CheckCritOut, ClearAppStarting(), EnterCrit, LeaveCrit, NT_SUCCESS, NTSTATUS(), NULL, tagTHREADINFO::ppi, PsGetCurrentThread, tagTHREADINFO::pstrAppName, PtiCurrentShared, Status, _ETHREAD::ThreadsProcess, TRUE, ValidateThreadSessionId, _EPROCESS::Win32Process, and xxxCreateThreadInfo(). Referenced by RawInputThread(), VideoPortCalloutThread(), and xxxDesktopThread().
|
|
Definition at line 95 of file ex.c. References FALSE, NULL, ObDereferenceObject, PsReferenceImpersonationToken(), PsReferencePrimaryToken(), SeTokenIsRestricted(), and _ETHREAD::ThreadsProcess.
|
|
Definition at line 368 of file ex.c. References ExDesktopObjectType, FALSE, LogDesktop, NULL, ObDereferenceObject, OBJECT_TO_OBJECT_HEADER, ObReferenceObject, TRUE, and VOID().
|
|
Definition at line 17 of file ex.c. References NT_SUCCESS, NTSTATUS(), Status, and TRUE. Referenced by _UserTestForWinStaAccess(), and xxxConnectService().
|
|
Definition at line 464 of file ex.c. References Handle, NT_SUCCESS, NTSTATUS(), NULL, and Status. Referenced by RtlInitializeCriticalSectionAndSpinCount(), RtlpCreateCriticalSectionSem(), xxxCreateThreadInfo(), and xxxDestroyThreadInfo().
|
|
Definition at line 421 of file ex.c. References ExDesktopObjectType, FALSE, LogDesktop, NULL, ObDereferenceObject, OBJECT_TO_OBJECT_HEADER, and VOID().
|
|
Definition at line 448 of file ex.c. References ObDereferenceObject, and VOID().
|
|
Definition at line 271 of file ex.c. References ExRaiseStatus(), and Status.
|