ReactOS 0.4.16-dev-289-g096a551
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Variables | |
PHANDLE_TABLE | ObpKernelHandleTable = NULL |
#define NDEBUG |
Definition at line 17 of file obhandle.c.
Definition at line 3402 of file obhandle.c.
Referenced by _At_(), _main(), _tmain(), AccessCheckEmptyMappingTest(), AccessGrantedMultipleObjectsTests(), AccessGrantedNoDaclTests(), AccessGrantedTests(), AccpCloseObjectHandle(), AddCodepageToRegistry(), AddFontsSettingsToRegistry(), AddHotkeySettings(), AddKbLayoutsToRegistry(), AddVolumeToList(), AfdBind(), AfdConnect(), AfdGetInformation(), AfdSend(), AfdSendTo(), AfdSetInformation(), AllocConsole(), BaseComputeProcessDllPath(), BaseGetNamedObjectDirectory(), BaseInitializeStaticServerData(), BasepCopyFileExW(), BasepIsProcessAllowed(), BasepMapFile(), BasepMoveFileDelayed(), BasepNotifyTrackingService(), BasepOpenFileForMove(), BasepSxsCloseHandles(), BaseSrvCleanupVDMResources(), BaseSrvCreatePairWaitHandles(), BaseSrvDestroyConsoleRecord(), BaseSrvDestroyPairWaitHandles(), BaseSrvIsVdmAllowed(), Beep(), CabinetExtractFile(), CallApphelpWithImage(), CallCacheControl(), check_boot_options(), CheckForGlobalDriveLetter(), CheckTokenMembership(), clean_main(), ClientThread(), CloseCabinet(), CloseDefaultKeys(), CloseDevice(), CloseHandle(), CloseIniBootLoaderStore(), closeTcpFile(), CmGetSystemDriverList(), CmInitSystem1(), CmpCreateControlSet(), CmpCreateHardwareProfile(), CmpInitializeHardwareConfiguration(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpSetSystemValues(), CmpSetupConfigurationTree(), CmpSetVersionData(), CommandDumpSector(), CommandPartInfo(), CON_API(), ConCfgOpenUserSettings(), ConDrvDeinitInputBuffer(), ConnectConsole(), ConnectRegistry(), ConSrvDeleteConsole(), ConSrvInitConsole(), ConvertNtPathToWin32Path(), create_classes_root_hkey(), create_key(), create_registry_key(), CreateBaseAcls(), CreateContext(), CreateDirectoryExW(), CreateDirectoryW(), CreateHardLinkW(), CreateIoCompletionPort(), CreateKeyTest(), CreateNestedKey(), CreatePartitionList(), CreatePipe(), CreateProcessAsUserCommon(), CreateProcessInternalW(), CreateRegistryFile(), CreateRemoteThread(), CreateSymbolicLinkW(), CreateSymLinkKey(), CreateWindowStationW(), CSR_API(), CsrApiPortInitialize(), CsrCreateRemoteThread(), CsrGetProcessLuid(), CsrpCheckRequestThreads(), CsrpConnectToServer(), CsrProcessRefcountZero(), CsrSbApiRequestThread(), CsrSetProcessSecurity(), CsrSrvCreateSharedSection(), CsrThreadRefcountZero(), DbgUiIssueRemoteBreakin(), DebugActiveProcess(), DebugActiveProcessStop(), DeleteFileW(), DeleteKeyTest(), DeleteSymLinkKey(), DeleteValueTest(), DenyAccessTests(), DestroyProtoHive(), DismountVolume(), do_enumeratekey(), DoesPathExist_UStr(), DumpDisk(), DumpPartition(), DumpRegistryData(), EnumerateKeyTest(), EnumerateValueTest(), ExpandSymbolicLink(), ExpCreateSystemRootLink(), ExpInitializeCallbacks(), Ext2CloseDevice(), FindClose(), FindFirstChangeNotificationW(), FindFirstFileExW(), FindFirstStreamW(), FindNTOSInstallations(), FormatEx2(), FreeConsole(), get_manifest_in_associated_manifest(), get_manifest_in_manifest_file(), get_manifest_in_pe_file(), get_registry_locale_info(), get_system_root(), GetCallerLuid(), GetComputerIdentifier(), GetComputerNameFromRegistry(), GetCPFileNameFromRegistry(), GetDeviceInfo_UStr(), GetDiskFreeSpaceExW(), GetDiskFreeSpaceW(), GetDisplayIdentifier(), GetDllList(), GetDosDevicesProtection(), GetDriveTypeW(), GetFileSecurityW(), GetFileSystem(), GetFileSystemName_UStr(), GetNTObjectSymbolicLinkTarget(), GetPhysicalFileSize(), GetRegInt(), GetSocketInformation(), GetSourcePaths(), GetTempFileNameW(), GetTimeouts(), GetToken(), GetTokenProcess(), GetUserGeoID(), GetVolumeInformationW(), GetVolumeNameForRoot(), GrantedAccessTests(), GRAPHICS_BUFFER_Destroy(), GRAPHICS_BUFFER_Initialize(), GuiApplyUserSettings(), GuiConsoleShowConsoleProperties(), GuiDeinitFrontEnd(), GuiInit(), GuiInitFrontEnd(), IcmpCloseHandle(), ImpersonateLoggedOnUser(), InferFileSystem(), InfOpenFile(), InfWriteFile(), IniCacheLoad(), IniCacheSave(), InitFunctionPtrs(), InitializeFmIfsOnce(), InitializeUserModePnpManager(), InitLogPort(), InstallBootCodeToDisk(), InstallBootCodeToFile(), InstallBootManagerAndBootEntries(), InstallDevice(), InstallDriver(), InstallSetupInfFile(), IntAllocConsole(), IntAttachConsole(), IntGetCodePageEntry(), IopCreateRootDirectories(), IopInitializePlugPlayServices(), IopMarkBootPartition(), is_mounted_multi_device(), IsAcpiComputer(), IsShimInfrastructureDisabled(), IsThisARootDirectory(), IsValidLanguageGroup(), IsValidNTOSInstallation(), JapaneseEra_IsFirstYearGannen(), JapaneseEra_Load(), keyed_event_thread(), KsecOpenDevice(), LdrOpenImageFileOptionsKey(), LdrpCheckForKnownDll(), LdrpCheckForLoadedDll(), LdrpCreateDllSection(), LdrpDisableProcessCompatGuidDetection(), LdrpInitializeProcess(), LdrpMapDll(), LdrQueryImageFileExecutionOptionsEx(), LdrVerifyImageMatchesChecksum(), ListDirectory(), LoadModule(), LoadSymbolsRoutine(), LOCALE_InitRegistry(), LogfBackupFile(), LogfClose(), LogfCreate(), lookup_assembly(), lookup_winsxs(), LsaConnectUntrusted(), LsapAddNotification(), LsapCheckLogonProcess(), LsapCloseDbObject(), LsapCloseLsaPort(), LsapCreateDatabaseKeys(), LsapCreateDbObject(), LsapDeleteDbObject(), LsapDeregisterLogonProcess(), LsapEnumLogonSessions(), LsapGetLogonSessionData(), LsapGetObjectAttribute(), LsapIsDatabaseInstalled(), LsapIsTrustedClient(), LsapLogonUser(), LsapOpenDbObject(), LsapRegCloseKey(), LsapRegDeleteSubKey(), LsapRemoveNotification(), LsapSetObjectAttribute(), LsarSetSecurityObject(), main(), MapFile(), MountVolume(), MoveFileWithProgressW(), MyDeleteFile(), NetUserChangePassword(), NLS_EnumLanguageGroupLocales(), NLS_EnumSystemLanguageGroups(), NlsInit(), NlsUninit(), NtQueryOpenSubKeys(), ObDuplicateObject(), ObInitSystem(), ObpCreateDosDevicesDirectory(), OpenAndMapFile(), OpenBootStore_UStr(), OpenFile(), OpenIniBootLoaderStore(), OpenWindowStationW(), nt_handle::operator=(), ParamsValidationTests(), ParamValidationNoObjsList(), parse_file(), Phase1InitializationDiscard(), PipGetDriverTagPriority(), PortThreadRoutine(), PrintProcess(), PrintThreads(), PrivMoveFileIdentityW(), ProcessDisplayRegistry(), ProcessIdToSessionId(), ProcessLocaleRegistry(), QueryDeviceInformation(), QueryDosDeviceW(), QueryTokenImpersonationTests(), QueryTokenIsSandboxInert(), QueryTokenPrivilegesAndGroupsTests(), QueryTokenRestrictedSidsTest(), ReadBlock(), ReadBootCodeFromFile(), RegCleanupRegistry(), RegCloseKey(), RegCopyTreeW(), RegDeleteKeyExW(), RegInitializeRegistry(), RegisterUncProvider(), registry_callback(), RegOverridePredefKey(), RegpCopyTree(), RegReplaceKeyW(), RegRestoreKeyW(), RegSaveKeyW(), RegSetKeyValueA(), RegSetKeyValueW(), RemoveDirectoryW(), ReplaceFileW(), ResolveArcNameNtSymLink(), RSetServiceObjectSecurity(), RtlCreateActivationContext(), RtlCreateTimerQueue(), RtlCreateUserSecurityObject(), RtlCreateUserThread(), RtlDefaultNpAcl(), RtlDeleteCriticalSection(), RtlDeleteResource(), RtlDeleteTimer(), RtlDeleteTimerQueueEx(), RtlDeregisterWaitEx(), RtlImpersonateSelf(), RtlInitializeRXact(), RtlNewSecurityGrantedAccess(), RtlpCloseKeyedEvent(), RtlpExecuteIoWorkItem(), RtlpExecuteWorkItem(), RtlpIoWorkerThreadProc(), RtlpIsIoPending(), RtlpStartWorkerThread(), RtlQueryRegistryValues(), RtlQueueWorkItem(), RtlRegisterWait(), RtlReleaseRelativeName(), RtlSetCurrentDirectory_U(), RXactpCommit(), SampRegCloseKey(), SampRegDeleteKey(), SamrSetSecurityObject(), SaveBootSector(), ScmCheckDriver(), ScmConvertToBootPathName(), ScmGetDriverStatus(), SdbCloseDatabase(), SdbDeletePermLayerKeys(), SdbpCloseMemMappedFile(), SdbpGetPermLayersInternal(), SdbpOpenMemMappedFile(), SdbRegisterDatabaseEx(), SdbSetPermLayerKeys(), SdbUnregisterDatabase(), ServerThread(), SetActiveComputerNameToRegistry(), SetComputerNameToRegistry(), SetDefaultPagefile(), SetFileAttributesW(), SetFileSecurityW(), SetGeoID(), SetLocaleInfoW(), SetMountedDeviceValue(), SetRosSpecificInfo(), SetSocketInformation(), SetupCopyFile(), SetupCreateSingleDirectory(), SetupDeleteFile(), SetupMoveFile(), SetUserGeoID(), SetValueTest1(), SetValueTest2(), SetVolumeLabelW(), ShowFileSystemInfo(), SmExecPgm(), SmExecuteProgram(), SmLookupSubsystem(), SmpAcquirePrivilege(), SmpConfigureObjectDirectories(), SmpCreateDynamicEnvironmentVariables(), SmpCreateVolumeDescriptors(), SmpDeletePagingFile(), SmpDereferenceSubsystem(), SmpExecPgm(), SmpExecuteImage(), SmpExecuteInitialCommand(), SmpGetPagingFileSize(), SmpGetVolumeFreeSpace(), SmpHandleConnectionRequest(), SmpInit(), SmpInitializeDosDevices(), SmpInitializeKnownDllsInternal(), SmpLoadDataFromRegistry(), SmpLoadSubSystem(), SmpProcessFileRenames(), SmpQueryRegistrySosOption(), SmpReleasePrivilege(), SmpSbCreateSession(), SmpStartCsr(), SmpTranslateSystemPartitionInformation(), SockCreateOrReferenceAsyncThread(), SpeakerCleanup(), START_TEST(), StartAuthenticationPort(), TerminateUserModePnpManager(), test1(), test2(), test3(), test5(), test6(), test7(), test9(), Test_ApphelpCheckRunApp(), Test_EmptyFile(), Test_ImageSection(), test_keyed_events(), Test_KeyFullInformation(), Test_KeyNameInformation(), test_mutant(), test_NtOpenKey(), Test_PageFileSection(), Test_RawSize(), Test_recv(), Test_SectionContents(), test_tp_multi_wait(), TestCreateOpen_(), TestSend(), TestSendTo(), TestTcp(), TestUdp(), TH32CreateSnapshotSectionInitialize(), timer_queue_thread_proc(), UnhandledExceptionFilter(), UnMapFile(), UserpFormatMessages(), VfatFormat(), VfatxFormat(), Wait_thread_proc(), WaitNamedPipeW(), WinExec(), WritePartitions(), WSPAccept(), WSPBind(), WSPCloseSocket(), WSPConnect(), WSPDuplicateSocket(), WSPEnumNetworkEvents(), WSPEventSelect(), WSPGetPeerName(), WSPGetSockName(), WSPListen(), WSPRecv(), WSPRecvFrom(), WSPSelect(), WSPSend(), WSPSendTo(), WSPShutdown(), WSPSocket(), CEnumNTDirectory::~CEnumNTDirectory(), mountmgr::~mountmgr(), and nt_handle::~nt_handle().
NTSTATUS NTAPI NtDuplicateObject | ( | IN HANDLE | SourceProcessHandle, |
IN HANDLE | SourceHandle, | ||
IN HANDLE TargetProcessHandle | OPTIONAL, | ||
OUT PHANDLE TargetHandle | OPTIONAL, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN ULONG | HandleAttributes, | ||
IN ULONG | Options | ||
) |
Definition at line 3410 of file obhandle.c.
Referenced by BaseSrvCreatePairWaitHandles(), BaseSrvDestroyPairWaitHandles(), ConSrvAllocateConsole(), ConSrvInheritConsole(), CSR_API(), CsrCreateRemoteThread(), DuplicateHandle(), GRAPHICS_BUFFER_Destroy(), GRAPHICS_BUFFER_Initialize(), GuiApplyUserSettings(), GuiConsoleShowConsoleProperties(), GuiInit(), LsapAddNotification(), LsapLogonUser(), RtlpIoWorkerThreadProc(), RtlpIsIoPending(), SmpExecPgm(), SmpExecuteInitialCommand(), SmpLoadSubSystem(), SmpSbCreateSession(), START_TEST(), and StuffStdHandle().
Definition at line 2027 of file obhandle.c.
Referenced by NtTerminateProcess(), and PspTerminateProcess().
Definition at line 3379 of file obhandle.c.
Referenced by _IRQL_requires_max_(), CheckDirectorySecurity__(), CheckKeySecurity__(), CmpAddToHiveFileList(), CmpLinkKeyToHive(), CmpRemoveFromHiveFileList(), DbgkCreateThread(), DbgkMapViewOfSection(), DbgkpFreeDebugEvent(), DbgkpOpenHandles(), DbgkpPostFakeModuleMessages(), DbgkpPostFakeThreadMessages(), DisplayBootBitmap(), ExitThreadCallback(), ExpCreateSystemRootLink(), ExpCreateWorkerThread(), ExpInitializeWorkerThreads(), ExpInitNls(), InitThreadCallback(), IntCopyRegistryKey(), IntCreateDesktop(), IntCreateNewRegistryPath(), IntLoadRegistryParameters(), IntResolveDesktop(), IntSetupDeviceSettingsKey(), IntVideoPortInbvCleanup(), IoCreateController(), IoCreateDevice(), IoCreateStreamFileObjectEx(), IopDetectResourceConflict(), IopOpenLinkOrRenameTarget(), IopReassignSystemRoot(), IopStoreSystemPartitionInformation(), KernelModeTest(), KmtStartThread(), LpcpCreatePort(), MmCreatePhysicalMemorySection(), NotificationCallback(), NtLoadKeyEx(), NtSaveKeyEx(), NtSaveMergedKeys(), NtSecureConnectPort(), NtSetDefaultLocale(), NtSetInformationFile(), NtUnloadKey2(), NtUserCloseDesktop(), NtUserCloseWindowStation(), NtUserResolveDesktop(), PnpRootCreateDevice(), PspCreateProcess(), PspCreateThread(), PspExitThread(), PspInitPhase0(), RawInputThreadMain(), RunTest(), ScrInbvCleanup(), SepRmCommandServerThread(), SepRmCommandServerThreadInit(), SeRmInitPhase1(), START_TEST(), TestAllInformation(), TestConnect(), TestCreateNamedPipe(), TestDuplicate(), TestIoCreateFile(), TestObRootSecurity(), TestPhysicalMemorySection(), TestReadWrite(), TestRelativeNames(), TestSharedCacheMap(), UserModeTest(), and UserSetProcessWindowStation().
Definition at line 48 of file obhandle.c.
Referenced by ObClearProcessHandleTable(), ObDuplicateObject(), ObFindHandleForObject(), ObGetProcessHandleCount(), and ObInitProcess().
NTSTATUS NTAPI ObDuplicateObject | ( | IN PEPROCESS | SourceProcess, |
IN HANDLE | SourceHandle, | ||
IN PEPROCESS TargetProcess | OPTIONAL, | ||
IN PHANDLE TargetHandle | OPTIONAL, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN ULONG | HandleAttributes, | ||
IN ULONG | Options, | ||
IN KPROCESSOR_MODE | PreviousMode | ||
) |
Definition at line 2204 of file obhandle.c.
Referenced by DbgkpOpenHandles(), and NtDuplicateObject().
BOOLEAN NTAPI ObFindHandleForObject | ( | IN PEPROCESS | Process, |
IN PVOID | Object, | ||
IN POBJECT_TYPE | ObjectType, | ||
IN POBJECT_HANDLE_INFORMATION | HandleInformation, | ||
OUT PHANDLE | Handle | ||
) |
Definition at line 2856 of file obhandle.c.
Referenced by IntGetDesktopObjectHandle(), and IntResolveDesktop().
Definition at line 56 of file obhandle.c.
Referenced by NtQueryInformationProcess(), and QSI_DEF().
Definition at line 2090 of file obhandle.c.
Referenced by PspCreateProcess().
NTSTATUS NTAPI ObInsertObject | ( | IN PVOID | Object, |
IN PACCESS_STATE AccessState | OPTIONAL, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN ULONG | ObjectPointerBias, | ||
OUT PVOID *NewObject | OPTIONAL, | ||
OUT PHANDLE | Handle | ||
) |
Definition at line 2935 of file obhandle.c.
Referenced by _IRQL_requires_max_(), CmpCreateRegistryRoot(), CreateClientPort(), ExCreateCallback(), HalpDmaAllocateChildAdapter(), IntCreateWindowStation(), IoCreateController(), IoCreateDevice(), IoCreateDriver(), IoCreateStreamFileObjectEx(), IopInitializeDriverModule(), LpcpCreatePort(), MmCreatePhysicalMemorySection(), NtCreateDebugObject(), NtCreateDirectoryObject(), NtCreateEvent(), NtCreateEventPair(), NtCreateIoCompletion(), NtCreateJobObject(), NtCreateMutant(), NtCreateProfile(), NtCreateSection(), NtCreateSemaphore(), NtCreateSymbolicLinkObject(), NtCreateTimer(), NtDuplicateToken(), NtFilterToken(), NtSecureConnectPort(), ObtCreateObjects(), PspCreateProcess(), PspCreateThread(), SeFilterToken(), SepCreateToken(), SepInitializationPhase1(), SepOpenThreadToken(), and SeSubProcessToken().
Definition at line 3525 of file obhandle.c.
Definition at line 2160 of file obhandle.c.
Referenced by PspDeleteProcess(), and PspExitThread().
NTSTATUS NTAPI ObOpenObjectByName | ( | IN POBJECT_ATTRIBUTES | ObjectAttributes, |
IN POBJECT_TYPE | ObjectType, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN PACCESS_STATE | PassedAccessState, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN OUT PVOID | ParseContext, | ||
OUT PHANDLE | Handle | ||
) |
Definition at line 2532 of file obhandle.c.
Referenced by CmLoadKey(), CmpLinkHiveToMaster(), CreateGreenFdo(), ExCreateCallback(), GetObjectType(), IntCreateDesktop(), IntCreateWindowStation(), IntResolveDesktop(), IoFastQueryNetworkAttributes(), IopCreateFile(), IopQueryAttributesFile(), NtCreateKey(), NtDeleteFile(), NtOpenDirectoryObject(), NtOpenEvent(), NtOpenEventPair(), NtOpenIoCompletion(), NtOpenJobObject(), NtOpenKey(), NtOpenMutant(), NtOpenProcess(), NtOpenSection(), NtOpenSemaphore(), NtOpenSymbolicLinkObject(), NtOpenThread(), NtOpenTimer(), NtQueryOpenSubKeys(), NtUnloadKey2(), NtUserOpenDesktop(), NtUserOpenWindowStation(), ObtCreateObjectTypes(), and START_TEST().
NTSTATUS NTAPI ObOpenObjectByPointer | ( | IN PVOID | Object, |
IN ULONG | HandleAttributes, | ||
IN PACCESS_STATE | PassedAccessState, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN POBJECT_TYPE | ObjectType, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
OUT PHANDLE | Handle | ||
) |
Definition at line 2742 of file obhandle.c.
Referenced by AfdBindSocket(), CmpConvertHandleToKernelHandle(), DbgkOpenProcessDebugPort(), DbgkpOpenHandles(), IntGetDesktopObjectHandle(), IntResolveDesktop(), NtOpenProcess(), NtOpenProcessTokenEx(), NtOpenThread(), RawInputThreadMain(), SepOpenThreadToken(), SerenumDetectLegacyDevice(), SerenumDetectPnpDevice(), SermouseDetectLegacyDevice(), START_TEST(), UserOpenInputDesktop(), and WmipOpenGuidObject().
NTSTATUS NTAPI ObpChargeQuotaForObject | ( | IN POBJECT_HEADER | ObjectHeader, |
IN POBJECT_TYPE | ObjectType, | ||
OUT PBOOLEAN | NewObject | ||
) |
Definition at line 431 of file obhandle.c.
Referenced by ObInsertObject(), ObpIncrementHandleCount(), and ObpIncrementUnnamedHandleCount().
Definition at line 1730 of file obhandle.c.
Referenced by NtClose(), and ObCloseHandle().
BOOLEAN NTAPI ObpCloseHandleCallback | ( | IN PHANDLE_TABLE_ENTRY | HandleTableEntry, |
IN HANDLE | Handle, | ||
IN PVOID | Context | ||
) |
Definition at line 1924 of file obhandle.c.
Referenced by ObClearProcessHandleTable(), and ObKillProcess().
NTSTATUS NTAPI ObpCloseHandleTableEntry | ( | IN PHANDLE_TABLE | HandleTable, |
IN PHANDLE_TABLE_ENTRY | HandleEntry, | ||
IN HANDLE | Handle, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN BOOLEAN | IgnoreHandleProtection | ||
) |
Definition at line 685 of file obhandle.c.
Referenced by ObpCloseHandle(), and ObpCloseHandleCallback().
NTSTATUS NTAPI ObpCreateHandle | ( | IN OB_OPEN_REASON | OpenReason, |
IN PVOID | Object, | ||
IN POBJECT_TYPE Type | OPTIONAL, | ||
IN PACCESS_STATE | AccessState, | ||
IN ULONG | AdditionalReferences, | ||
IN ULONG | HandleAttributes, | ||
IN POBP_LOOKUP_CONTEXT | Context, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
OUT PVOID * | ReturnedObject, | ||
OUT PHANDLE | ReturnedHandle | ||
) |
Definition at line 1497 of file obhandle.c.
Referenced by ObInsertObject(), ObOpenObjectByName(), and ObOpenObjectByPointer().
NTSTATUS NTAPI ObpCreateUnnamedHandle | ( | IN PVOID | Object, |
IN ACCESS_MASK | DesiredAccess, | ||
IN ULONG | AdditionalReferences, | ||
IN ULONG | HandleAttributes, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
OUT PVOID * | ReturnedObject, | ||
OUT PHANDLE | ReturnedHandle | ||
) |
Definition at line 1312 of file obhandle.c.
Referenced by ObInsertObject().
VOID NTAPI ObpDecrementHandleCount | ( | IN PVOID | ObjectBody, |
IN PEPROCESS | Process, | ||
IN ACCESS_MASK | GrantedAccess, | ||
IN POBJECT_TYPE | ObjectType | ||
) |
Definition at line 530 of file obhandle.c.
Referenced by ObDuplicateObject(), ObpCloseHandleTableEntry(), ObpCreateHandle(), and ObpCreateUnnamedHandle().
BOOLEAN NTAPI ObpDuplicateHandleCallback | ( | IN PEPROCESS | Process, |
IN PHANDLE_TABLE | HandleTable, | ||
IN PHANDLE_TABLE_ENTRY | OldEntry, | ||
IN PHANDLE_TABLE_ENTRY | HandleTableEntry | ||
) |
Definition at line 1960 of file obhandle.c.
Referenced by ObInitProcess().
BOOLEAN NTAPI ObpEnumFindHandleProcedure | ( | IN PHANDLE_TABLE_ENTRY | HandleEntry, |
IN HANDLE | Handle, | ||
IN PVOID | Context | ||
) |
Definition at line 211 of file obhandle.c.
Referenced by ObFindHandleForObject().
NTSTATUS NTAPI ObpIncrementHandleCount | ( | IN PVOID | Object, |
IN PACCESS_STATE AccessState | OPTIONAL, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN ULONG | HandleAttributes, | ||
IN PEPROCESS | Process, | ||
IN OB_OPEN_REASON | OpenReason | ||
) |
Definition at line 811 of file obhandle.c.
Referenced by ObDuplicateObject(), ObpCreateHandle(), and ObpDuplicateHandleCallback().
NTSTATUS NTAPI ObpIncrementHandleDataBase | ( | IN POBJECT_HEADER | ObjectHeader, |
IN PEPROCESS | Process, | ||
IN OUT PULONG | NewProcessHandleCount | ||
) |
Definition at line 333 of file obhandle.c.
Referenced by ObpIncrementHandleCount(), and ObpIncrementUnnamedHandleCount().
NTSTATUS NTAPI ObpIncrementUnnamedHandleCount | ( | IN PVOID | Object, |
IN PACCESS_MASK | DesiredAccess, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN ULONG | HandleAttributes, | ||
IN PEPROCESS | Process | ||
) |
Definition at line 1090 of file obhandle.c.
Referenced by ObpCreateUnnamedHandle().
POBJECT_HANDLE_COUNT_ENTRY NTAPI ObpInsertHandleCount | ( | IN POBJECT_HEADER | ObjectHeader | ) |
Definition at line 259 of file obhandle.c.
Referenced by ObpIncrementHandleDataBase().
NTSTATUS NTAPI ObpReferenceProcessObjectByHandle | ( | IN HANDLE | Handle, |
IN PEPROCESS | Process, | ||
IN PHANDLE_TABLE | HandleTable, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
OUT PVOID * | Object, | ||
OUT POBJECT_HANDLE_INFORMATION | HandleInformation, | ||
OUT PACCESS_MASK | AuditMask | ||
) |
Definition at line 85 of file obhandle.c.
Referenced by ObDuplicateObject().
BOOLEAN NTAPI ObpSetHandleAttributes | ( | IN OUT PHANDLE_TABLE_ENTRY | HandleTableEntry, |
IN ULONG_PTR | Context | ||
) |
Definition at line 1859 of file obhandle.c.
Referenced by NtSetInformationObject(), and ObSetHandleAttributes().
NTSTATUS NTAPI ObpValidateAccessMask | ( | IN PACCESS_STATE | AccessState | ) |
Definition at line 488 of file obhandle.c.
Referenced by ObInsertObject(), and ObOpenObjectByName().
PHANDLE_TABLE NTAPI ObReferenceProcessHandleTable | ( | IN PEPROCESS | Process | ) |
Definition at line 26 of file obhandle.c.
Referenced by ObClearProcessHandleTable(), ObDuplicateObject(), ObFindHandleForObject(), ObGetProcessHandleCount(), and ObInitProcess().
NTSTATUS NTAPI ObSetHandleAttributes | ( | IN HANDLE | Handle, |
IN POBJECT_HANDLE_ATTRIBUTE_INFORMATION | HandleFlags, | ||
IN KPROCESSOR_MODE | PreviousMode | ||
) |
Definition at line 3308 of file obhandle.c.
PHANDLE_TABLE ObpKernelHandleTable = NULL |
Definition at line 20 of file obhandle.c.
Referenced by NtSetInformationObject(), NtWaitForMultipleObjects(), ObInitSystem(), ObpCloseHandle(), ObpCreateHandle(), ObpCreateUnnamedHandle(), ObpReferenceProcessObjectByHandle(), ObQueryObjectAuditingByHandle(), ObReferenceFileObjectForWrite(), ObReferenceObjectByHandle(), and ObSetHandleAttributes().