|
ReactOS 0.4.17-dev-1344-g1103f43
|
Go to the source code of this file.
Macros | |
| #define | PsGetCurrentProcess IoGetCurrentProcess |
| #define | _PSGETCURRENTTHREAD_ |
| #define PsGetCurrentProcess IoGetCurrentProcess |
| $endif | ( | _NTDDK_ | ) |
Definition at line 559 of file iofuncs.h.
|
pure virtual |
Definition at line 396 of file rtlfuncs.h.
| _Must_inspect_result_ _IRQL_requires_max_ | ( | APC_LEVEL | ) |
Probes and locks virtual pages in memory for the specified process.
| [in,out] | MemoryDescriptorList | Memory Descriptor List (MDL) containing the buffer to be probed and locked. |
| [in] | Process | The process for which the buffer should be probed and locked. |
| [in] | AccessMode | Access mode for probing the pages. Can be KernelMode or UserMode. |
| [in] | LockOperation | The type of the probing and locking operation. Can be IoReadAccess, IoWriteAccess or IoModifyAccess. |
Probes and locks virtual pages in memory for the specified process.
Frees previously reserved amount of memory in system virtual address space.
| [in] | NumberOfBytes | Size, in bytes, of memory to reserve. |
| [in] | PoolTag | Pool Tag identifying the buffer. Usually consists from 4 characters in reversed order. |
| [in] | BaseAddress | A pointer to the 1st memory block of the reserved buffer. |
| [in] | PoolTag | Pool Tag identifying the buffer. Usually consists from 4 characters in reversed order. |
Definition at line 37 of file cddata.c.
| _IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
IOCTL_INTERNAL_USB_SUBMIT_IDLE_NOTIFICATION; the idle machine owns the IRP afterwards.
Records hub over current in the hub hardware key, once per devnode.
First selective suspend of the device; the registry write runs in a work item.
"USB device not recognized" popup for a port.
A hub was attached beyond the allowed tier depth.
The selected configuration draws more power than the port can give.
The controller ran out of bandwidth for the device; fired by the out of bandwidth timer.
Priority 1 to 3, forwarded to the HCD's EvtEndpointSetCharacteristic.
Tells apart devices that claim the same VID, PID and serial number.
| _IRQL_requires_max_ | ( | PASSIVE_LEVEL | ) |
Queries information details about a security descriptor.
Computes the quota size of a security descriptor.
Assigns a security descriptor for a new object.
An extended function that assigns a security descriptor for a new object.
Frees a security descriptor.
An extended function that sets new information data to a security descriptor.
Modifies some information data about a security descriptor.
| [in] | SecurityInformation | Security information details to be queried from a security descriptor. |
| [out] | SecurityDescriptor | The returned security descriptor with security information data. |
| [in,out] | Length | The returned length of a security descriptor. |
| [in,out] | ObjectsSecurityDescriptor | The returned object security descriptor. |
| [in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
| [in] | SecurityInformation | Security information details to be set. |
| [in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
| [in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
| [in] | PoolType | Pool type for the new security descriptor to allocate. |
| [in] | GenericMapping | The generic mapping of access rights masks. |
| [in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
| [in] | SecurityInformation | Security information details to be set. |
| [in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
| [in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
| [in] | AutoInheritFlags | Flags bitmask inheritation, influencing how the security descriptor can be inherited and if it can be in the first place. |
| [in] | PoolType | Pool type for the new security descriptor to allocate. |
| [in] | GenericMapping | The generic mapping of access rights masks. |
| [in] | SecurityDescriptor | A security descriptor to be freed from memory. |
| [in] | _ParentDescriptor | A security descriptor of the parent object that is being created. |
| [in] | _ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
| [out] | NewDescriptor | The new allocated security descriptor. |
| [in] | ObjectType | The type of the new object. |
| [in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
| [in] | AutoInheritFlags | Automatic inheritance flags that influence how access control entries within ACLs from security descriptors are inherited. |
| [in] | SubjectContext | Security subject context of the new object. |
| [in] | GenericMapping | Generic mapping of access mask rights. |
| [in] | PoolType | This parameter is unused. |
| [in] | ParentDescriptor | A security descriptor of the parent object that is being created. |
| [in] | ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
| [out] | NewDescriptor | The new allocated security descriptor. |
| [in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
| [in] | SubjectContext | Security subject context of the new object. |
| [in] | GenericMapping | Generic mapping of access mask rights. |
| [in] | PoolType | This parameter is unused. |
| [in] | SecurityDescriptor | A security descriptor. |
| [out] | QuotaInfoSize | The returned quota size of the given security descriptor to the caller. The function may return 0 to this parameter if the descriptor doesn't have a group or a discretionary access control list (DACL) even. |
Definition at line 923 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_writes_bytes_to_opt_(ProcessInformationLength, *ReturnLength) PVOID | ProcessInformation, | ||
| _In_ ULONG | ProcessInformationLength, | ||
| _Out_opt_ PULONG | ReturnLength | ||
| ) |
Definition at line 211 of file query.c.
Referenced by _main(), BaseInitializeStaticServerData(), check_live_target(), CheckRemoteDebuggerPresent(), CON_API_NOCONSOLE(), EmptyWorkingSet(), EnumProcessModules(), FindModule(), get_shiminfo(), getCommandLineFromProcess(), GetDriveTypeW(), GetErrorMode(), GetExitCodeProcess(), GetLogicalDrives(), GetPriorityClass(), GetProcessAffinityMask(), GetProcessDEPPolicy(), GetProcessExecutablePath(), GetProcessHandleCount(), GetProcessId(), GetProcessImageFileNameA(), GetProcessImageFileNameW(), GetProcessIoCounters(), GetProcessMemoryInfo(), GetProcessPriorityBoost(), GetProcessTimes(), GetProcessVersion(), GetProcessWorkingSetSizeEx(), GetSourcePaths(), GetWin32DriveTypeOfDriveNumber(), GetWsChanges(), GlobalMemoryStatusEx(), init_module_iterator(), init_module_iterator_wow64(), Is64BitSystem(), IsCriticalProcess(), IsWow64Process(), PerfDataGetCommandLine(), PrintProcess(), ProcessIdToSessionId(), PsaEnumerateProcessModules(), QueryFlag(), QueryFullProcessImageNameW(), QueryProcessCycleTime(), QuerySetProcessValidator(), RtlpQueryRemoteProcessModules(), RtlWow64GetProcessMachines(), SmpApiLoop(), SmpCreateVolumeDescriptors(), SmpGetProcessMuSessionId(), test_affinity(), test_amd64_shared_info(), test_dead_process(), test_debuggee_dbgport(), test_exec_memory_writes(), test_GlobalMemoryStatus(), test_mapprotection(), test_nt_wow64(), test_NtGetCurrentProcessorNumber(), test_peb_teb(), test_process_id(), test_process_machine(), Test_ProcessBasicInformation(), Test_ProcessPriorityClassAlignment(), Test_ProcessQuotaLimits(), Test_ProcessQuotaLimitsEx(), Test_ProcessTimes(), Test_ProcessWx86Information(), test_query_process(), test_query_process_basic(), test_query_process_debug_flags(), test_query_process_debug_object_handle(), test_query_process_debug_port(), test_query_process_handlecount(), test_query_process_image_file_name(), test_query_process_image_info(), test_query_process_io(), test_query_process_priority(), test_query_process_quota_limits(), test_query_process_times(), test_query_process_vm(), test_query_process_wow64(), test_redirection(), test_section_access(), test_wow64_shared_info(), UnhandledExceptionFilter(), UserpGetClientFileName(), wmain(), and Wow64QueryFlag().
| NTKERNELAPI HANDLE NTAPI PsGetCurrentProcessId | ( | VOID | ) |
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().
| 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 155 of file psfuncs.h.
Referenced by GetProcessLuid(), NtCloseObjectAuditAlarm(), NtOpenThreadTokenEx(), ObpReferenceDeviceMap(), PsImpersonateClient(), PsReferenceImpersonationToken(), SeCaptureSubjectContextEx(), and SepOpenThreadToken().
| _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 157 of file psfuncs.h.
Referenced by DuplicateToken(), DuplicateTokenEx(), GetProcessLuid(), FxRequest::Impersonate(), ImpersonateSelf(), make_impersonation_token(), NtCloseObjectAuditAlarm(), NtOpenThreadTokenEx(), ObpReferenceDeviceMap(), PsAssignImpersonationToken(), PsImpersonateClient(), PsReferenceEffectiveToken(), PsReferenceImpersonationToken(), RtlImpersonateSelf(), SeCreateClientSecurity(), SepCreateClientSecurity(), SepCreateToken(), SepOpenThreadToken(), SeTokenCanImpersonate(), test_ImpersonateNamedPipeClient(), test_object_permanence(), and test_token_attr().
| _In_ PSE_IMPERSONATION_STATE ImpersonationState |
Definition at line 190 of file psfuncs.h.
Referenced by NtOpenThreadTokenEx(), PsDisableImpersonation(), and PsRestoreImpersonation().
| int Remove |
Definition at line 111 of file psfuncs.h.
Referenced by ApphelpCacheUpdateEntry(), FxCollectionInternal::Clear(), co_MsqPeekHardwareMessage(), DECLARE_INTERFACE_(), FxIoTarget::Dispose(), 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 92 of file psfuncs.h.
Referenced by InitThreadDataEx(), KeInitializeThread(), KeInitThread(), KiInitializeContextThread(), KmtStartThread(), PsCreateSystemThread(), PspCreateThread(), PspSystemThreadStartup(), PspUserThreadStartup(), and RtlpStartWorkerThread().
| _Must_inspect_result_ _Outptr_ PETHREAD* Thread |