ReactOS  0.4.15-dev-3297-g037c744
fxchildlistapi.cpp File Reference
#include "fxcorepch.hpp"
Include dependency graph for fxchildlistapi.cpp:

Go to the source code of this file.

Functions

_Must_inspect_result_ __drv_maxIRQL (PASSIVE_LEVEL) NTSTATUS STDCALL WDFEXPORT(WdfChildListCreate)(__in PWDF_DRIVER_GLOBALS DriverGlobals
 
 FxObjectHandleGetPtrAndGlobals (GetFxDriverGlobals(DriverGlobals), Device, FX_TYPE_DEVICE,(PVOID *)&pDevice, &pFxDriverGlobals)
 
 DoTraceLevelMessage (pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
 
 FxPointerNotNull (pFxDriverGlobals, Config)
 
 FxPointerNotNull (pFxDriverGlobals, DeviceList)
 
 if (!NT_SUCCESS(status))
 
 if (NT_SUCCESS(status))
 
 __drv_maxIRQL (DISPATCH_LEVEL) WDFDEVICE STDCALL WDFEXPORT(WdfChildListGetDevice)(__in PWDF_DRIVER_GLOBALS DriverGlobals
 
 FxObjectHandleGetPtrAndGlobals (GetFxDriverGlobals(DriverGlobals), DeviceList, FX_TYPE_CHILD_LIST,(PVOID *)&pList, &pFxDriverGlobals)
 
 DoTraceLevelMessage (pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter: WDFCHILDLIST %p", DeviceList)
 
return pList GetDevice ()
 
 FxPointerNotNull (pFxDriverGlobals, IdentificationDescription)
 
 FxPointerNotNull (pFxDriverGlobals, AddressDescription)
 
 if (pList->GetIdentificationDescriptionSize() !=IdentificationDescription->IdentificationDescriptionSize)
 
 if (pList->HasAddressDescriptions()==FALSE)
 
 if (pList->GetAddressDescriptionSize() !=AddressDescription->AddressDescriptionSize)
 
 DoTraceLevelMessage (pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Exit: WDFCHILDLIST %p, %!STATUS!", DeviceList, status)
 
pList BeginScan ()
 
pList EndScan ()
 
 FxPointerNotNull (pFxDriverGlobals, Iterator)
 
 if (Iterator->Size !=sizeof(WDF_CHILD_LIST_ITERATOR))
 
 if ((Iterator->Flags &~WdfRetrieveAllChildren) !=0)
 
RtlZeroMemory &[0] Iterator (Iterator->Reserved)
 
pList BeginIteration (Iterator)
 
 FxPointerNotNull (pFxDriverGlobals, Device)
 
 if (Info !=NULL)
 
return pList GetNextDevice (Device, Iterator, Info)
 
pList EndIteration (Iterator)
 
 if (AddressDescription !=NULL)
 
pList UpdateAllAsPresent ()
 
 DoTraceLevelMessage (pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Exit: WDFCHILDLIST %p", DeviceList)
 
 FxPointerNotNull (pFxDriverGlobals, RetrieveInfo)
 
 if (RetrieveInfo->Size !=sizeof(WDF_CHILD_RETRIEVE_INFO))
 
 if (pId==NULL)
 
 if (pAddr !=NULL)
 
 if (device !=NULL)
 
 DoTraceLevelMessage (pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Exit: WDFCHILDLIST %p, WDFDEVICE Pdo %p, " "%!WDF_CHILD_LIST_RETRIEVE_DEVICE_STATUS!", DeviceList, handle, RetrieveInfo->Status)
 
 DoTraceLevelMessage (pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "found: WDFCHILDLIST %p, WDFDEVICE PDO %p", DeviceList, device==NULL ? NULL :device->GetHandle())
 

Variables

_Must_inspect_result_ __in WDFDEVICE Device = NULL
 
_Must_inspect_result_ __in WDFDEVICE __in PWDF_CHILD_LIST_CONFIG Config
 
_Must_inspect_result_ __in WDFDEVICE __in PWDF_CHILD_LIST_CONFIG __in_opt PWDF_OBJECT_ATTRIBUTES DeviceListAttributes
 
_Must_inspect_result_ __in WDFDEVICE __in PWDF_CHILD_LIST_CONFIG __in_opt PWDF_OBJECT_ATTRIBUTES __out WDFCHILDLIST * DeviceList
 
FxDevicepDevice
 
FxChildListpList
 
size_t totalDescriptionSize = 0
 
NTSTATUS status = FxVerifierCheckIrqlLevel(pFxDriverGlobals, PASSIVE_LEVEL)
 
_Must_inspect_result_ __in WDFCHILDLIST __in PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER IdentificationDescription
 
_Must_inspect_result_ __in WDFCHILDLIST __in PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER __inout PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER AddressDescription
 
__in WDFCHILDLIST __in PWDF_CHILD_LIST_ITERATOR Iterator
 
_Must_inspect_result_ __in WDFCHILDLIST __in PWDF_CHILD_LIST_ITERATOR __out WDFDEVICE __inout_opt PWDF_CHILD_RETRIEVE_INFO Info
 
PFX_DRIVER_GLOBALS pFxDriverGlobals = NULL
 
 else
 
_Must_inspect_result_ __in WDFCHILDLIST __inout PWDF_CHILD_RETRIEVE_INFO RetrieveInfo
 
PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER pId = RetrieveInfo->IdentificationDescription
 
PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER pAddr = RetrieveInfo->AddressDescription
 
FxDevicedevice = pList->GetDeviceFromId(RetrieveInfo)
 
RetrieveInfo Status = WdfChildListRetrieveDeviceUndefined
 
WDFDEVICE handle
 
WDF_CHILD_RETRIEVE_INFO info
 
return FALSE
 

Function Documentation

◆ __drv_maxIRQL() [1/2]

_Must_inspect_result_ __drv_maxIRQL ( PASSIVE_LEVEL  )

◆ __drv_maxIRQL() [2/2]

__drv_maxIRQL ( DISPATCH_LEVEL  )

◆ BeginIteration()

pList BeginIteration ( Iterator  )

◆ BeginScan()

pList BeginScan ( )

◆ DoTraceLevelMessage() [1/6]

DoTraceLevelMessage ( pFxDriverGlobals  ,
TRACE_LEVEL_VERBOSE  ,
TRACINGPNP  ,
Enter,
WDFDEVICE %p ,
Device   
)

Referenced by __drv_maxIRQL(), __drv_requiresIRQL(), __drv_when(), __in_ecount(), FxDmaPacketTransaction::_AdapterControl(), FxDmaScatterGatherTransaction::_AdapterListControl(), FxDevice::_AllocAndQueryProperty(), FxDevice::_AllocAndQueryPropertyEx(), WDFDEVICE_INIT::_AllocateControlDeviceInit(), WDFCXDEVICE_INIT::_AllocateCxDeviceInit(), FxChildList::_ComputeTotalDescriptionSize(), FxUserObject::_Create(), FxWmiProvider::_Create(), FxPkgFdo::_Create(), FxIoTargetRemote::_Create(), FxWaitLock::_Create(), FxWmiInstanceExternal::_Create(), FxDmaScatterGatherTransaction::_Create(), FxRequest::_Create(), FxDmaPacketTransaction::_Create(), FxDmaSystemTransaction::_Create(), FxInterruptThreadpool::_CreateAndInit(), FxRegisterResourceInfo::_CreateAndInit(), FxSystemThread::_CreateAndInit(), FxChildList::_CreateAndInit(), FxSelfManagedIoMachine::_CreateAndInit(), FxInterruptWaitblock::_CreateAndInit(), FxPortResourceInfo::_CreateAndInit(), FxInterrupt::_CreateAndInit(), FxCmResList::_CreateAndInit(), FxIoResReqList::_CreateAndInit(), FxMessageDispatch::_CreateAndInitialize(), FxFileObject::_CreateFileObject(), FxRequest::_CreateForPackage(), FxFileObject::_DestroyFileObject(), FxUsbPipe::_FormatTransfer(), _Function_class_(), FxFileObject::_GetFileObjectFromWdm(), FxDevice::_OpenKey(), FxPkgPdo::_PnpEject(), FxPkgPdo::_PnpQueryDeviceText(), FxPkgPdo::_PnpQueryId(), FxPkgFdo::_PnpQueryInterface(), FxPkgFdo::_PnpQueryPnpDeviceState(), FxPkgPdo::_PnpQueryPnpDeviceState(), FxPkgPnp::_PnpRemoveDevice(), FxPkgFdo::_PnpStartDeviceCompletionRoutine(), FxWmiIrpHandler::_QueryAllData(), FxDevice::_QueryProperty(), FxDevice::_QueryPropertyEx(), FxIoTarget::_RequestCancelled(), _Requires_lock_held_(), _Requires_lock_not_held_(), FxDeviceBase::_SearchForDevice(), FxUsbPipe::_SendTransfer(), FxChildList::_ValidateConfig(), FxDevice::_ValidateOpenKeyParams(), FxRegKey::_VerifyMultiSzString(), FxPkgGeneral::AcquireRemoveLockForClose(), FxResourceCollection::AddAt(), FxPkgPnp::AddChildList(), FxPkgPnp::AddDmaEnabler(), FxPkgPdo::AddEjectionDevice(), FxWmiProvider::AddInstance(), FxWmiProvider::AddInstanceLocked(), FxWmiIrpHandler::AddPowerPolicyProviderAndInstance(), FxPkgPnp::AddRemovalDevice(), FxPkgPnp::AddUsageDevice(), FxDmaPacketTransaction::AllocateAdapterChannel(), FxCommonBuffer::AllocateCommonBuffer(), FxDmaEnabler::AllocateCommonBuffer(), FxPkgPnp::AllocateEnumInfo(), FxIrp::AllocateIrp(), FxDevice::AllocateRequestMemory(), FxDeviceBase::AllocateTarget(), FxVerifierLock::AllocateThreadTable(), WDFDEVICE_INIT::AssignIoType(), WDFDEVICE_INIT::AssignName(), FxDevice::AssignProperty(), FxInterrupt::AssignResources(), FxChildList::BeginIteration(), FxChildList::BeginScan(), FxCmResList::BuildPortResourceTable(), FxCmResList::BuildRegisterResourceTable(), FxRequestBase::Cancel(), FxDmaSystemTransaction::CancelMappedTransfer(), FxDmaTransactionBase::CancelResourceAllocation(), FxIoTarget::CancelSentIo(), FxRequestBase::CancelTimer(), FxTagTracker::CheckForAbandondedTags(), FxCmResList::CheckForConnectionResources(), FxCallbackLock::CheckOwnership(), FxPkgPnp::CleanupStateMachines(), FxIoTargetRemote::ClearTargetPointers(), FxChildList::CloneEntryLocked(), FxIoTargetRemote::Close(), IdleTimeoutManagement::CommitPowerFrameworkSettings(), FxPkgPnp::CommitUsageNotification(), FxRequest::Complete(), FxIoTarget::CompleteCanceledRequest(), FxRequest::CompleteInternal(), FxRequest::CompleteWithPriority(), FxWmiIrpHandler::CompleteWmiRequest(), FxUsbPipeContinuousReader::Config(), FxPkgGeneral::ConfigureConstraints(), FxDeviceBase::ConfigureConstraints(), FxPkgIo::ConfigureDynamicDispatching(), FxPkgGeneral::ConfigureFileObjectClass(), FxPkgGeneral::ConfigureForwarding(), FxPkgIo::ConfigureForwarding(), FxDmaEnabler::ConfigureSystemAdapter(), FxInterrupt::Connect(), FxRequest::CopyCompletionParams(), IFxMemory::CopyFromPtr(), FxTagTracker::CreateAndInitialize(), FxVerifierLock::CreateAndInitialize(), FxPkgFdo::CreateDefaultDeviceList(), FxChildList::CreateDevice(), FxUsbDevice::CreateInterfaces(), FxUsbDevice::CreateIsochUrb(), FxPkgIo::CreateQueue(), FxUsbInterface::CreateSettings(), FxDevice::CreateSymbolicLink(), FxSystemThread::CreateThread(), FxRequestBase::CreateTimer(), FxUsbDevice::CreateUrb(), FxInterrupt::CreateWakeInterruptMachine(), FxIoResReqList::CreateWdmList(), FxUsbDevice::CyclePort(), FxUsbDevice::Deconfig(), FxDevice::DeleteDeviceFromFailedCreateNoDelete(), FxWmiIrpHandler::Deregister(), FxDevice::Destroy(), FxInterrupt::Disconnect(), FxPkgPnp::DisconnectInterruptNP(), FxWmiIrpHandler::Dispatch(), FxPkgIo::Dispatch(), FxPkgGeneral::Dispatch(), FxPkgPnp::Dispatch(), FxPkgFdo::DispatchDeviceSetPower(), FxPkgPdo::DispatchDeviceSetPower(), FxPkgIo::DispatchStep1(), FxPkgIo::DispatchStep2(), FxPkgPnp::DispatchWaitWake(), FxDmaTransactionBase::Dispose(), FxDmaTransactionBase::DmaCompleted(), FxIoTarget::DrainPendedRequestsLocked(), FxVerifierLock::DumpDetails(), FxChildList::EndIteration(), FxChildList::EndScan(), FxWorkItem::Enqueue(), FxPkgIo::EnqueueRequest(), FxSystemWorkItem::EnqueueWorker(), FxDmaTransactionBase::Execute(), FxDevice::FdoInitialize(), FxPkgPnp::FilterResourceRequirements(), FxWmiInstance::FireEvent(), FxDmaPacketTransaction::FlushAdapterBuffers(), FxPkgIo::FlushAllQueuesByFileObject(), FxTimer::FlushAndRundown(), FxWorkItem::FlushAndWait(), FxInterrupt::ForceDisconnect(), FxInterrupt::ForceReconnect(), FxUsbPipe::FormatAbortRequest(), FxUsbDevice::FormatControlRequest(), FxIoTarget::FormatInternalIoctlOthersRequest(), FxIoTarget::FormatIoctlRequest(), FxIoTarget::FormatIoRequest(), FxUsbPipe::FormatResetRequest(), FxUsbDevice::FormatStringRequest(), FxUsbPipe::FormatTransferRequest(), FxDmaPacketTransaction::FreeMapRegistersAndAdapter(), FxDmaSystemTransaction::FreeMapRegistersAndAdapter(), FxDevice::FreeRequestMemory(), IdleTimeoutManagement::FreezeIdleTimeoutManagementStatus(), FX_VF_METHOD(), FxDuplicateUnicodeString(), FxFormatUrbRequest(), FxGetDevicePropertyString(), FxIFRStart(), FxInitialize(), FxMdlDump(), FxPkgIo::FxPkgIo(), FxPoolAddHeaderSize(), FxPoolAllocator(), FxPoolDestroy(), FxPoolDump(), FxPoolInitialize(), FxUsbCreateConfigRequest(), FxUsbValidateConfigDescriptorHeaders(), FxUsbValidateDescriptorType(), FxValiateCx(), FxDevice::FxValidateInterfacePropertyData(), FxValidateObjectAttributes(), FxValidateObjectAttributesForParentHandle(), FxValidateRequestOptions(), FxValidateUnicodeString(), FxVerifierCheckIrqlLevel(), FxVerifierNullBugCheck(), FxUsbInterface::GetConfiguredSettingIndex(), FxRequest::GetDeviceControlOutputMdl(), FxRequest::GetDeviceControlOutputMemoryObject(), GetImageName(), FxRequest::GetMdl(), FxRequest::GetMemoryObject(), FxChildList::GetNextDevice(), FxRequestBuffer::GetOrAllocateMdl(), GetPdoPackageFromDeviceHandle(), FxUsbDevice::GetPortStatus(), GetStackCapabilities(), FxUsbDevice::GetString(), FxIoTargetRemote::GetTargetDeviceRelations(), FxVerifierLock::GetThreadTableEntry(), FxDmaTransactionBase::GetTransferInfo(), FxUsbPipe::GotoPurgeState(), FxIoTarget::GotoPurgeState(), FxUsbPipe::GotoRemoveState(), FxIoTarget::GotoRemoveState(), FxIoTarget::GotoStartState(), FxUsbPipe::GotoStopState(), FxIoTarget::GotoStopState(), FxIoTarget::HandleFailedResubmit(), FxPkgPnp::HandleQueryBusInformation(), FxPkgPnp::HandleQueryBusRelations(), FxPkgFdo::HandleQueryCapabilities(), FxPkgFdo::HandleQueryCapabilitiesCompletion(), FxPkgPnp::HandleQueryDeviceRelations(), FxPkgFdo::HandleQueryPnpDeviceStateCompletion(), if(), FxRequest::Impersonate(), FxPowerIdleMachine::InDxIoIncrement(), FxIoTarget::Init(), FxUsbPipe::InitContinuousReader(), FxUsbDevice::InitDevice(), FxInterruptThreadpool::Initialize(), FxEventQueue::Initialize(), FxDmaEnabler::Initialize(), FxInterruptWaitblock::Initialize(), FxDisposeList::Initialize(), FxDmaTransactionBase::Initialize(), FxTimer::Initialize(), FxDpc::Initialize(), FxWorkItem::Initialize(), FxPkgPdo::Initialize(), FxPkgGeneral::Initialize(), FxSystemWorkItem::Initialize(), FxDriver::Initialize(), FxVerifierLock::Initialize(), FxPkgPnp::Initialize(), FxPkgIo::InitializeDefaultQueue(), FxVerifierLock::InitializeLockOrder(), FxDmaEnabler::InitializeResources(), FxDmaScatterGatherTransaction::InitializeResources(), FxInterrupt::InitializeWorker(), FxPowerIdleMachine::IoDecrement(), IsLoggingEnabledAndNeeded(), FxCallbackSpinLock::Lock(), FxCallbackMutexLock::Lock(), FxVerifierLock::Lock(), LockVerifierSection(), FxUsbInterface::MakeAndConfigurePipes(), FxDmaPacketTransaction::MapTransfer(), FxChildList::NotifyDeviceRemove(), FxPkgPnp::NotifyResourceObjectsD0(), FxPkgPnp::NotifyResourceObjectsDx(), FxPkgPnp::NotPowerPolicyOwnerEnterNewState(), FxPkgGeneral::OnCreate(), FxIoTargetRemoteNotificationCallback::OnQueryRemove(), FxIoTargetRemoteNotificationCallback::OnRemoveCanceled(), FxIoTargetRemoteNotificationCallback::OnRemoveComplete(), FxIoTargetRemote::Open(), FxDevice::OpenDevicemapKeyWorker(), FxIoTargetRemote::OpenTargetHandle(), FxPkgPnp::PnpDeviceUsageNotification(), FxPkgPnp::PnpEnterNewState(), FxPkgPdo::PnpEventEjectHardwareOverload(), FxPkgPnp::PnpEventHardwareAvailable(), FxPkgPdo::PnpEventPdoRemovedOverload(), FxPkgPnp::PnpEventQueryRemoveAskDriver(), FxPkgPnp::PnpEventQueryRemoveEnsureDeviceAwake(), FxPkgPnp::PnpEventQueryRemoveStaticCheck(), FxPkgPnp::PnpEventQueryStopAskDriver(), FxPkgPnp::PnpEventQueryStopEnsureDeviceAwake(), FxPkgPnp::PnpEventQueryStopStaticCheck(), FxPkgPnp::PnpEventRemovingDisableInterfaces(), FxPkgPnp::PnpEventRestartReleaseHardware(), FxPkgPnp::PnpEventStopped(), FxPkgFdo::PnpFilterResourceRequirements(), FxPkgPnp::PnpMatchResources(), PnpPassThroughQI(), FxPkgPnp::PnpProcessEvent(), FxPkgPnp::PnpProcessEventInner(), FxPkgFdo::PnpQueryDeviceRelations(), FxPkgPdo::PnpQueryDeviceRelations(), FxPkgPdo::PnpQueryResourceRequirements(), FxPkgPnp::PnpReleaseHardware(), FxPkgFdo::PnpSendStartDeviceDownTheStackOverload(), FxPkgGeneral::PostCreateDeviceInitialize(), FxPkgPnp::PostCreateDeviceInitialize(), FxIoQueue::PostRequestCompletedCallback(), FxPkgPnp::PowerConnectInterruptFailed(), FxPkgPnp::PowerD0Starting(), FxPkgPnp::PowerD0StartingConnectInterrupt(), FxDmaEnabler::PowerDown(), FxPkgPnp::PowerEnterNewState(), FxPkgPnp::PowerGotoD3Stopped(), FxPkgPnp::PowerGotoDx(), FxPkgPnp::PowerGotoDxIoStopped(), FxPkgPnp::PowerGotoDxIoStoppedNP(), FxPkgPnp::PowerInitialDmaEnableFailed(), FxPkgPnp::PowerMakeWakeRequestNonCancelable(), FxPkgPnp::PowerPolicyCancelWaitWake(), FxPkgPnp::PowerPolicyCanIdlePowerDown(), FxPkgPnp::PowerPolicyCompleteSystemPowerIrp(), FxPkgPnp::PowerPolicyEnterNewState(), FxPkgPnp::PowerPolicyGetDeviceDeepestDeviceWakeState(), FxPkgPnp::PowerPolicyHandleSystemQueryPower(), FxPkgPnp::PowerPolicyProcessEvent(), FxPkgPnp::PowerPolicyProcessEventInner(), FxPkgPnp::PowerPolicySendDevicePowerRequest(), FxPkgPnp::PowerPolicySendWaitWakeRequest(), FxPkgPnp::PowerPolicySetS0IdleSettings(), FxPkgPnp::PowerPolicySetSxWakeSettings(), FxPkgPnp::PowerPolicyUpdateSystemWakeSource(), FxPkgPnp::PowerPolSleeping(), FxPkgPnp::PowerPolSleepingSendWake(), FxPkgPnp::PowerPolSleepingWakeRevertArmWake(), FxPkgPnp::PowerPolSleepingWakeRevertArmWakeNP(), FxPkgPnp::PowerPolSleepingWakeWakeArrived(), FxPkgPnp::PowerPolSleepingWakeWakeArrivedNP(), FxPkgPnp::PowerPolSystemSleepNeedWake(), FxPkgPnp::PowerPolTimerExpiredWakeCapableSendWake(), FxPkgPnp::PowerPolTimerExpiredWakeCapableWakeArrived(), FxPkgPnp::PowerProcessEvent(), FxPkgPnp::PowerProcessEventInner(), FxPowerIdleMachine::PowerReferenceWorker(), FxPkgPnp::PowerStartingChild(), FxPkgPnp::PowerStartSelfManagedIo(), FxPkgPnp::PowerStartSelfManagedIoNP(), FxDmaEnabler::PowerUp(), FxPkgPnp::PowerWaking(), FxPkgPnp::PowerWakingConnectInterrupt(), FxPkgPnp::PowerWakingConnectInterruptFailedNP(), FxPkgPnp::PowerWakingConnectInterruptNP(), FxPkgPnp::PowerWakingDmaEnableFailed(), FxPkgPnp::PowerWakingDmaEnableFailedNP(), FxPkgPnp::PowerWakingNP(), FxPoxInterface::PoxRegisterDevice(), FxDmaSystemTransaction::PreMapTransfer(), FxIoQueue::PreRequestCompletedCallback(), FxIoTarget::PrintDisposeMessage(), FxRequest::ProbeAndLockForRead(), FxRequest::ProbeAndLockForWrite(), FxChildList::ProcessBusRelations(), FxPkgPnp::ProcessDelayedDeletion(), FxDevicePwrRequirementMachine::ProcessEvent(), FxWakeInterruptMachine::ProcessEvent(), FxSelfManagedIoMachine::ProcessEvent(), FxDevicePwrRequirementMachine::ProcessEventInner(), FxWakeInterruptMachine::ProcessEventInner(), FxPowerIdleMachine::ProcessEventLocked(), FxChildList::ProcessModificationsLocked(), FxIoTarget::Purge(), FxPkgPnp::QueryForD3ColdInterface(), FxUsbDevice::QueryUsbCapability(), FxEventQueue::QueueToThreadWorker(), FxUsbPipeContinuousReader::QueueWorkItemLocked(), FxPkgPnp::ReadStateFromRegistry(), FxChildList::ReenumerateEntryLocked(), FxWmiIrpHandler::Register(), _FX_DRIVER_GLOBALS::RegisterClientVersion(), RegistryReadLastLoggedTime(), RegistryWriteCurrentTime(), FxDmaPacketTransaction::ReleaseAdapter(), FxDmaTransactionBase::ReleaseForReuse(), FxRequest::ReleaseIrpReference(), FxVerifierLock::ReleaseOrReplaceThreadTableEntry(), FxResourceCollection::RemoveAndDelete(), FxPkgPnp::RemoveChildList(), FxIoTarget::RemoveCompletedRequestLocked(), FxPkgPnp::RemoveDmaEnabler(), FxRequest::RemoveFromIrpQueue(), FxInterrupt::ReportActive(), FxInterrupt::ReportInactive(), FxIoQueue::RequestCompletedCallback(), FxIoTarget::RequestCompletionRoutine(), FxDmaPacketTransaction::ReserveAdapter(), FxUsbDevice::Reset(), FxUsbPipe::Reset(), FxPkgIo::ResetStateForRestart(), FxUsbPipeContinuousReader::ResubmitRepeater(), FxPkgIo::ResumeProcessingForPower(), FxDevice::RetrieveDeviceInfoRegistrySettings(), FxDevice::RetrieveDeviceRegistrySettings(), FxRequest::Reuse(), FxPkgPnp::SaveState(), FxUsbDevice::SelectConfig(), FxUsbDevice::SelectConfigDescriptor(), FxUsbDevice::SelectConfigInterfaces(), FxUsbDevice::SelectConfigMulti(), FxUsbDevice::SelectConfigSingle(), FxUsbInterface::SelectSetting(), FxUsbInterface::SelectSettingByDescriptor(), FxRequestFromLookaside::SelfDestruct(), FxIoTargetSelf::Send(), FxUsbDevice::SendSyncRequest(), FxUsbDevice::SendSyncUmUrb(), FxRequest::SetCompletionState(), FxEventQueue::SetDelayedDeletion(), FxPkgPnp::SetDeviceFailed(), FxPkgIo::SetFilter(), FxDmaTransactionBase::SetImmediateExecution(), FxObject::SetObjectStateLocked(), FxPkgPnp::SetPendingPnpIrp(), FxInterrupt::SetPolicy(), FxPkgPnp::SetSpecialFileSupport(), FxPkgPnp::SetUsageNotificationFlags(), FxUsbInterface::SetWinUsbHandle(), WDFDEVICE_INIT::ShouldCreateSecure(), FxDmaScatterGatherTransaction::StageTransfer(), FxDmaPacketTransaction::StageTransfer(), FxTimer::Start(), FxIoTarget::Start(), FxDmaPacketTransaction::StartTransfer(), FxTimer::Stop(), FxIoTarget::Stop(), FxPkgIo::StopProcessingForPower(), FxDmaSystemTransaction::StopTransfer(), FxIoTarget::SubmitLocked(), FxIoTarget::SubmitPendedRequest(), FxIoTarget::SubmitSync(), FxIoTarget::SubmitSyncRequestIgnoreTargetState(), switch(), FxPowerIdleMachine::TimedOutIoIncrement(), FxIoTarget::TimerCallback(), FxObject::TraceDroppedEvent(), FxDmaPacketTransaction::TransferCompleted(), FxVerifierLock::Unlock(), UnlockVerifierSection(), FxWmiIrpHandler::UpdateGuids(), FxUsbInterface::UpdatePipeAttributes(), FxTagTracker::UpdateTagHistory(), FxIoTarget::UpdateTargetIoType(), FxInterruptThreadpool::UpdateThreadPoolThreadLimits(), FxPkgPnp::UpdateWmiInstance(), IdleTimeoutManagement::UseSystemManagedIdleTimeout(), FxPkgPnp::ValidateCmResource(), FxPkgPnp::ValidateInterruptResourceCm(), FxRequestBuffer::ValidateMemoryDescriptor(), FxRequestBase::ValidateTarget(), VerifyWdfDeviceWdmDispatchIrp(), VfAddContextToHandle(), VfAllocateContext(), VfWdfObjectGetTypedContext(), FxIoTarget::WaitForDisposeEvent(), FxUsbPipe::WaitForSentIoToComplete(), FxDevice::~FxDevice(), FxDpc::~FxDpc(), FxDriver::~FxDriver(), FxInterrupt::~FxInterrupt(), FxObject::~FxObject(), FxPkgIo::~FxPkgIo(), FxSystemWorkItem::~FxSystemWorkItem(), FxTimer::~FxTimer(), FxVerifierLock::~FxVerifierLock(), and FxWorkItem::~FxWorkItem().

◆ DoTraceLevelMessage() [2/6]

DoTraceLevelMessage ( pFxDriverGlobals  ,
TRACE_LEVEL_VERBOSE  ,
TRACINGPNP  ,
"Enter: WDFCHILDLIST %p ,
DeviceList   
)

◆ DoTraceLevelMessage() [3/6]

DoTraceLevelMessage ( pFxDriverGlobals  ,
TRACE_LEVEL_VERBOSE  ,
TRACINGPNP  ,
"Exit: WDFCHILDLIST %  p,
%!STATUS!"  ,
DeviceList  ,
status   
)

◆ DoTraceLevelMessage() [4/6]

DoTraceLevelMessage ( pFxDriverGlobals  ,
TRACE_LEVEL_VERBOSE  ,
TRACINGPNP  ,
"Exit: WDFCHILDLIST %p ,
DeviceList   
)

◆ DoTraceLevelMessage() [5/6]

DoTraceLevelMessage ( pFxDriverGlobals  ,
TRACE_LEVEL_VERBOSE  ,
TRACINGPNP  ,
"Exit: WDFCHILDLIST %  p,
WDFDEVICE Pdo p,
" "%!WDF_CHILD_LIST_RETRIEVE_DEVICE_STATUS!"  ,
DeviceList  ,
handle  ,
RetrieveInfo->  Status 
)

◆ DoTraceLevelMessage() [6/6]

DoTraceLevelMessage ( pFxDriverGlobals  ,
TRACE_LEVEL_VERBOSE  ,
TRACINGPNP  ,
"found: WDFCHILDLIST %  p,
WDFDEVICE PDO %p ,
DeviceList  ,
device  = =NULL ? NULL :device->GetHandle() 
)

◆ EndIteration()

pList EndIteration ( Iterator  )

◆ EndScan()

pList EndScan ( )

◆ FxObjectHandleGetPtrAndGlobals() [1/2]

◆ FxObjectHandleGetPtrAndGlobals() [2/2]

FxObjectHandleGetPtrAndGlobals ( GetFxDriverGlobals(DriverGlobals ,
DeviceList  ,
FX_TYPE_CHILD_LIST  ,
(PVOID *)&  pList,
pFxDriverGlobals 
)

◆ FxPointerNotNull() [1/7]

FxPointerNotNull ( pFxDriverGlobals  ,
Config   
)

◆ FxPointerNotNull() [2/7]

FxPointerNotNull ( pFxDriverGlobals  ,
DeviceList   
)

◆ FxPointerNotNull() [3/7]

FxPointerNotNull ( pFxDriverGlobals  ,
IdentificationDescription   
)

◆ FxPointerNotNull() [4/7]

FxPointerNotNull ( pFxDriverGlobals  ,
AddressDescription   
)

◆ FxPointerNotNull() [5/7]

FxPointerNotNull ( pFxDriverGlobals  ,
Iterator   
)

◆ FxPointerNotNull() [6/7]

FxPointerNotNull ( pFxDriverGlobals  ,
Device   
)

◆ FxPointerNotNull() [7/7]

FxPointerNotNull ( pFxDriverGlobals  ,
RetrieveInfo   
)

◆ GetDevice()

return pInstance GetDevice ( )

Referenced by DECLARE_INTERFACE_(), and FX_VF_METHOD().

◆ GetNextDevice()

return pList GetNextDevice ( Device  ,
Iterator  ,
Info   
)

◆ if() [1/13]

if ( NT_SUCCESSstatus)

Definition at line 74 of file fxchildlistapi.cpp.

74  {
75  return status;
76  }
NTSTATUS status

◆ if() [2/13]

if ( NT_SUCCESS(status )

Definition at line 120 of file fxchildlistapi.cpp.

120  {
122  }
virtual VOID SetDeviceTelemetryInfoFlags(_In_ FxDeviceInfoFlags Flag)
Definition: fxdevice.hpp:1807
FxDevice * pDevice

◆ if() [3/13]

if ( pList->GetIdentificationDescriptionSize() !  = IdentificationDescription->IdentificationDescriptionSize)

Definition at line 183 of file fxchildlistapi.cpp.

184  {
186 
189  "identification description size %d incorrect, expected %d, %!STATUS!",
190  IdentificationDescription->IdentificationDescriptionSize,
192 
193  return status;
194  }
NTSTATUS status
#define STATUS_INVALID_DEVICE_REQUEST
Definition: udferr_usr.h:138
FxChildList * pList
PFX_DRIVER_GLOBALS pFxDriverGlobals
ULONG GetIdentificationDescriptionSize(VOID)
_In_ PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER IdentificationDescription
Definition: wdfchildlist.h:124
#define TRACE_LEVEL_ERROR
Definition: storswtr.h:27
#define TRACINGPNP
Definition: dbgtrace.h:67
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
Definition: ps.c:97

◆ if() [4/13]

if ( pList->  HasAddressDescriptions() = FALSE)

Definition at line 196 of file fxchildlistapi.cpp.

196  {
198 
200  "cannot retrieve an address description from a list"
201  " which was not initialized to use them, %!STATUS!",
202  status);
203 
204  return status;
205  }
NTSTATUS status
#define STATUS_INVALID_DEVICE_REQUEST
Definition: udferr_usr.h:138
PFX_DRIVER_GLOBALS pFxDriverGlobals
#define TRACE_LEVEL_ERROR
Definition: storswtr.h:27
#define TRACINGPNP
Definition: dbgtrace.h:67
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
Definition: ps.c:97

◆ if() [5/13]

if ( pList->GetAddressDescriptionSize() !  = AddressDescription->AddressDescriptionSize)

Definition at line 207 of file fxchildlistapi.cpp.

208  {
210 
212  "description size %d incorrect, expected %d, %!STATUS!",
213  AddressDescription->AddressDescriptionSize,
215 
216  return status;
217  }
NTSTATUS status
#define STATUS_INVALID_DEVICE_REQUEST
Definition: udferr_usr.h:138
FxChildList * pList
_Inout_ PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER AddressDescription
Definition: wdfchildlist.h:255
PFX_DRIVER_GLOBALS pFxDriverGlobals
#define TRACE_LEVEL_ERROR
Definition: storswtr.h:27
#define TRACINGPNP
Definition: dbgtrace.h:67
ULONG GetAddressDescriptionSize(VOID)
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
Definition: ps.c:97

◆ if() [6/13]

Definition at line 306 of file fxchildlistapi.cpp.

306  {
308  "Iterator Size %d not correct, expected %d, %!STATUS!",
309  Iterator->Size, sizeof(WDF_CHILD_LIST_ITERATOR),
312  return;
313  }
#define STATUS_INFO_LENGTH_MISMATCH
Definition: udferr_usr.h:133
PFX_DRIVER_GLOBALS pFxDriverGlobals
_In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR Iterator
Definition: wdfchildlist.h:653
#define TRACE_LEVEL_ERROR
Definition: storswtr.h:27
#define TRACINGPNP
Definition: dbgtrace.h:67
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
FxVerifierDbgBreakPoint(pFxDriverGlobals)

◆ if() [7/13]

Definition at line 315 of file fxchildlistapi.cpp.

315  {
318  "Iterator Flags 0x%x not correct, valid mask 0x%x, %!STATUS!",
321  return;
322  }
#define STATUS_INVALID_PARAMETER
Definition: udferr_usr.h:135
PFX_DRIVER_GLOBALS pFxDriverGlobals
_In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR Iterator
Definition: wdfchildlist.h:653
#define TRACE_LEVEL_ERROR
Definition: storswtr.h:27
#define TRACINGPNP
Definition: dbgtrace.h:67
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
FxVerifierDbgBreakPoint(pFxDriverGlobals)

◆ if() [8/13]

if ( Info = NULL)

Definition at line 378 of file fxchildlistapi.cpp.

378  {
379  if (Info->Size != sizeof(WDF_CHILD_RETRIEVE_INFO)) {
383  "Invalid RetrieveInfo Size %d, expected %d, %!STATUS!",
384  Info->Size, sizeof(WDF_CHILD_RETRIEVE_INFO), status);
385  return status;
386  }
387  if (Info->IdentificationDescription != NULL
388  &&
390  Info->IdentificationDescription->IdentificationDescriptionSize) {
392 
395  "identification description size %d incorrect, expected %d"
396  "%!STATUS!",
397  Info->IdentificationDescription->IdentificationDescriptionSize,
399 
400  return status;
401  }
402 
403  if (Info->AddressDescription != NULL) {
404  if (pList->HasAddressDescriptions() == FALSE) {
406 
409  "cannot retrieve an address description from a list"
410  " which was not initialized to use them, %!STATUS!",
411  status);
412 
413  return status;
414  }
415  else if (pList->GetAddressDescriptionSize() !=
416  Info->AddressDescription->AddressDescriptionSize) {
418 
421  "address description size %d incorrect, expected %d, %!STATUS!",
422  Info->AddressDescription->AddressDescriptionSize,
424 
425  return status;
426  }
427  }
428  }
BOOLEAN HasAddressDescriptions(VOID)
#define STATUS_INFO_LENGTH_MISMATCH
Definition: udferr_usr.h:133
#define STATUS_INVALID_PARAMETER
Definition: udferr_usr.h:135
NTSTATUS status
#define STATUS_INVALID_DEVICE_REQUEST
Definition: udferr_usr.h:138
return FALSE
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
Definition: wdfchildlist.h:683
FxChildList * pList
PFX_DRIVER_GLOBALS pFxDriverGlobals
ULONG GetIdentificationDescriptionSize(VOID)
#define TRACE_LEVEL_ERROR
Definition: storswtr.h:27
#define TRACINGPNP
Definition: dbgtrace.h:67
ULONG GetAddressDescriptionSize(VOID)
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
#define NULL
Definition: types.h:112
Definition: ps.c:97

◆ if() [9/13]

if ( AddressDescription = NULL)

Definition at line 511 of file fxchildlistapi.cpp.

511  {
512  if (pList->HasAddressDescriptions() == FALSE) {
514 
517  "cannot retrieve an address description from a list"
518  " which was not initialized to use them, %!STATUS!", status);
519 
520  return status;
521  }
523  AddressDescription->AddressDescriptionSize) {
525 
528  "address description size %d incorrect, expected %d, %!STATUS!",
529  AddressDescription->AddressDescriptionSize,
531 
532  return status;
533  }
534  }
BOOLEAN HasAddressDescriptions(VOID)
NTSTATUS status
#define STATUS_INVALID_DEVICE_REQUEST
Definition: udferr_usr.h:138
return FALSE
FxChildList * pList
_Inout_ PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER AddressDescription
Definition: wdfchildlist.h:255
PFX_DRIVER_GLOBALS pFxDriverGlobals
#define TRACE_LEVEL_ERROR
Definition: storswtr.h:27
#define TRACINGPNP
Definition: dbgtrace.h:67
ULONG GetAddressDescriptionSize(VOID)
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
Definition: ps.c:97

◆ if() [10/13]

Definition at line 678 of file fxchildlistapi.cpp.

678  {
681  "Invalid RetrieveInfo Size %x, expected %d, %!STATUS!",
682  RetrieveInfo->Size, sizeof(WDF_CHILD_RETRIEVE_INFO),
684  return NULL;
685  }
#define STATUS_INFO_LENGTH_MISMATCH
Definition: udferr_usr.h:133
PFX_DRIVER_GLOBALS pFxDriverGlobals
#define TRACE_LEVEL_ERROR
Definition: storswtr.h:27
_Must_inspect_result_ _In_ WDFCHILDLIST _Inout_ PWDF_CHILD_RETRIEVE_INFO RetrieveInfo
Definition: wdfchildlist.h:538
#define TRACINGPNP
Definition: dbgtrace.h:67
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
#define NULL
Definition: types.h:112

◆ if() [11/13]

if ( pId  = NULL)

Definition at line 688 of file fxchildlistapi.cpp.

688  {
690  "Invalid ID Description, %!STATUS!",
692  return NULL;
693  }
#define STATUS_INVALID_PARAMETER
Definition: udferr_usr.h:135
PFX_DRIVER_GLOBALS pFxDriverGlobals
#define TRACE_LEVEL_ERROR
Definition: storswtr.h:27
#define TRACINGPNP
Definition: dbgtrace.h:67
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
#define NULL
Definition: types.h:112

◆ if() [12/13]

if ( pAddr = NULL)

Definition at line 707 of file fxchildlistapi.cpp.

707  {
708  if (pList->HasAddressDescriptions() == FALSE) {
711  "cannot retrieve an address description from a list"
712  " which was not initialized to use them, %!STATUS!",
714  return NULL;
715  }
719  "address description size %d incorrect, expected %d",
721 
722  return NULL;
723  }
724  }
PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER pAddr
BOOLEAN HasAddressDescriptions(VOID)
#define STATUS_INVALID_DEVICE_REQUEST
Definition: udferr_usr.h:138
return FALSE
FxChildList * pList
PFX_DRIVER_GLOBALS pFxDriverGlobals
#define TRACE_LEVEL_ERROR
Definition: storswtr.h:27
#define TRACINGPNP
Definition: dbgtrace.h:67
ULONG GetAddressDescriptionSize(VOID)
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
#define NULL
Definition: types.h:112

◆ if() [13/13]

if ( device = NULL)

Definition at line 732 of file fxchildlistapi.cpp.

732  {
733  handle = device->GetHandle();
734  }
Definition: devices.h:37

◆ Iterator()

RtlZeroMemory&[0] Iterator ( Iterator->  Reserved)

◆ UpdateAllAsPresent()

pList UpdateAllAsPresent ( )

Variable Documentation

◆ AddressDescription

◆ Config

◆ Device

* Device = NULL

Definition at line 44 of file fxchildlistapi.cpp.

◆ device

return device = pList->GetDeviceFromId(RetrieveInfo)

Definition at line 664 of file fxchildlistapi.cpp.

Referenced by FxPkgFdo::_PnpPassDown(), acpi_bus_add(), acpi_bus_can_wakeup(), acpi_bus_check_device(), acpi_bus_power_manageable(), acpi_button_add(), acpi_power_add(), add_async_iorequest(), Bus_PDO_QueryDeviceCaps(), Bus_PDO_QueryResources(), check_device_info_(), collect_devices(), IdleTimeoutManagement::CommitPowerFrameworkSettings(), context_create(), create_device(), create_device1(), create_device2(), create_device2_without_ds(), CreateDeviceDescriptor(), CreateQueueEvtIoDefault(), d3d8_surface_get_device(), d3d9_surface_get_device(), d3d_device3_AddViewport(), d3d_device_init(), d3d_execute_buffer_init(), d3drm_create_device_object(), d3dx9_effect_init(), D3DXCreateBoxTest(), D3DXCreateCylinderTest(), D3DXCreateFontIndirectW(), D3DXCreateFragmentLinkerEx(), D3DXCreateLine(), D3DXCreateMesh(), D3DXCreateMeshFVFTest(), D3DXCreateMeshTest(), D3DXCreatePolygonTest(), D3DXCreateRenderToEnvMap(), D3DXCreateRenderToSurface(), D3DXCreateSphereTest(), D3DXCreateSprite(), D3DXCreateTextTest(), D3DXCreateTorusTest(), D3DXGenerateAdjacencyTest(), D3DXLoadSurfaceFromSurface(), D3DXRenderToSurface_BeginScene(), DECLARE_INTERFACE_(), device_assign(), device_fetch(), DirectSoundCaptureDevice_Create(), DirectSoundCaptureDevice_Initialize(), DirectSoundDevice_Create(), DirectSoundDevice_Initialize(), DriverEvtDeviceAdd(), dsound_enum(), DSOUND_PrimaryOpen(), enum_devices(), ffp_blitter_blit(), file_device_create(), file_device_find_or_create(), IdleTimeoutManagement::FreezeIdleTimeoutManagementStatus(), FxChildList::GetDeviceFromId(), FxDevice::GetPreferredTransferMode(), IDirectInputAImpl_GetDeviceStatus(), IDirectSound3DListenerImpl_Create(), IDirectSoundBufferImpl_Create(), IDirectSoundBufferImpl_Duplicate(), IDirectSoundCaptureBufferImpl_Create(), if(), light_activate(), light_deactivate(), light_update(), lock_surface(), MMDevice_Create(), new_test_context(), PerfEvtIoStopStart(), PerfEvtIoStopStop(), pnfs_file_device_get(), pnfs_file_device_list_invalidate(), pnfs_rpc_getdeviceinfo(), primarybuffer_create(), query_gpu_description(), rdpdr_process_irp(), resource_init(), set_constants(), shader_hw_sample(), shader_init(), START_TEST(), stateblock_init(), surface_load_drawable(), swapchain_init(), test_compute_normals(), test_create_effect_from_file(), test_Device(), test_device_iface(), test_device_iface_detail(), test_device_info(), test_device_key(), test_DeviceCapabilities(), test_dik_codes(), test_effect_clone(), test_effect_find_next_valid_technique(), test_effect_null_shader(), test_effect_parameter_block(), test_effect_state_manager_init(), test_effect_unsupported_shader(), test_fragment_linker(), test_get_device_instance_id(), test_load_skin_mesh_from_xof(), test_PrintDlgA(), test_refcount(), test_register_device_iface(), test_register_device_info(), test_registerset(), test_registerset_defaults(), test_registry_property_a(), test_registry_property_w(), test_setting_constants(), test_texture_shader(), texture2d_create_dc(), texture2d_destroy_dc(), unlock_surface(), IdleTimeoutManagement::UseSystemManagedIdleTimeout(), vertexdeclaration_init(), VMR9SurfaceAllocatorNotify_ChangeD3DDevice(), VMR9SurfaceAllocatorNotify_SetD3DDevice(), wined3d_adapter_init_gl_caps(), wined3d_blend_state_create(), wined3d_cs_create(), wined3d_cs_exec_clear(), wined3d_guess_card(), wined3d_palette_init(), wined3d_query_init(), wined3d_rasterizer_state_create(), wined3d_register_window(), wined3d_sampler_init(), wined3d_wndproc(), and write_superblock().

◆ DeviceList

__in WDFCHILDLIST DeviceList
Initial value:

Definition at line 52 of file fxchildlistapi.cpp.

◆ DeviceListAttributes

Definition at line 44 of file fxchildlistapi.cpp.

◆ else

else
Initial value:
{
"Must provide a valid AddressDescription because the"
" WDFCHILDLIST 0x%p is configured with AddressDescriptionSize,"
" %!STATUS!", DeviceList, status);
return status;
}
}
IdentificationDescription->IdentificationDescriptionSize) {
"identification description size %d incorrect, expected %d, %!STATUS!",
IdentificationDescription->IdentificationDescriptionSize,
return status;
}
BOOLEAN HasAddressDescriptions(VOID)
NTSTATUS status
#define STATUS_INVALID_DEVICE_REQUEST
Definition: udferr_usr.h:138
FxChildList * pList
_Inout_ PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER AddressDescription
Definition: wdfchildlist.h:255
_Must_inspect_result_ __in WDFDEVICE __in PWDF_CHILD_LIST_CONFIG __in_opt PWDF_OBJECT_ATTRIBUTES __out WDFCHILDLIST * DeviceList
PFX_DRIVER_GLOBALS pFxDriverGlobals
ULONG GetIdentificationDescriptionSize(VOID)
_In_ PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER IdentificationDescription
Definition: wdfchildlist.h:124
_Must_inspect_result_ NTSTATUS Add(__in PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER IdentificationDescription, __in_opt PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER AddressDescription, __in_opt PULONG ScanTag=NULL)
#define TRACE_LEVEL_ERROR
Definition: storswtr.h:27
#define TRACINGPNP
Definition: dbgtrace.h:67
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
Definition: ps.c:97

Definition at line 535 of file fxchildlistapi.cpp.

◆ FALSE

return FALSE

Definition at line 814 of file fxchildlistapi.cpp.

Referenced by if().

◆ handle

Definition at line 730 of file fxchildlistapi.cpp.

◆ IdentificationDescription

◆ Info

◆ info

◆ Iterator

Initial value:

Definition at line 291 of file fxchildlistapi.cpp.

◆ pAddr

◆ pDevice

◆ pFxDriverGlobals

PFX_DRIVER_GLOBALS pFxDriverGlobals = NULL

Definition at line 446 of file fxchildlistapi.cpp.

Referenced by __drv_maxIRQL(), FxDmaPacketTransaction::_AdapterControl(), FxDmaScatterGatherTransaction::_AdapterListControl(), WDFDEVICE_INIT::_AllocateControlDeviceInit(), FxWmiProvider::_Create(), FxObject::_GetEffectiveLock(), FxPkgPdo::_PnpQueryDeviceText(), FxPkgPdo::_PnpQueryId(), FxPkgGeneral::AcquireRemoveLockForClose(), AddEventHooksWdfDeviceCreate(), AddEventHooksWdfIoQueueCreate(), FxRequest::AddIrpReference(), FxCommonBuffer::AllocateCommonBuffer(), FxDmaEnabler::AllocateCommonBuffer(), FxIoQueue::AllocateReservedRequest(), FxIoTarget::CancelSentIo(), FxTagTracker::CheckForAbandondedTags(), FxCallbackLock::CheckOwnership(), FxIoTargetRemote::Close(), FxRequest::CompleteInternal(), FxUsbPipeContinuousReader::Config(), FxPkgGeneral::ConfigureForwarding(), FxInterrupt::Connect(), IFxMemory::CopyFromPtr(), FxTagTracker::CopyStackFrames(), FxPkgFdo::CreateDefaultDeviceList(), FxUsbDevice::CreateInterfaces(), FxUsbDevice::CreateIsochUrb(), FxPkgIo::CreateQueue(), FxUsbDevice::CreateUrb(), FxCmResList::CreateWdmList(), FxIoResReqList::CreateWdmList(), FxInterrupt::Disconnect(), FxWmiIrpHandler::Dispatch(), FxPkgGeneral::Dispatch(), FxPkgIo::DispathToInCallerContextCallback(), FxDmaTransactionBase::Dispose(), FxDmaTransactionBase::DmaCompleted(), FxWorkItem::Enqueue(), FxSystemWorkItem::EnqueueWorker(), FxDmaTransactionBase::Execute(), FxPkgIo::FlushAllQueuesByFileObject(), FxWorkItem::FlushAndWait(), FxIoQueue::ForwardRequestToParent(), FxDmaSystemTransaction::FreeMapRegistersAndAdapter(), FxAllocateDriverGlobals(), FxFreeDriverGlobals(), FxGetDevicePropertyString(), FxLibraryCommonUnregisterClient(), FxUsbPipeContinuousReader::FxUsbPipeRequestWorkItemHandler(), FxDevice::FxValidateInterfacePropertyData(), FxRequest::GetDeviceControlOutputMdl(), FxRequest::GetFileObject(), FxRequest::GetInformation(), FxRequest::GetMdl(), FxRequest::GetParameters(), FxIoQueue::GetRequest(), FxRequest::GetRequestorMode(), FxRequest::GetStatus(), FxDmaTransactionBase::GetTransferInfo(), FxUsbPipe::GotoPurgeState(), FxIoTarget::GotoStartState(), FxUsbPipe::GotoStopState(), FxPkgPnp::HandleQueryBusInformation(), FxPkgPnp::HandleQueryDeviceRelations(), if(), FxLock::Initialize(), FxDmaEnabler::Initialize(), FxDmaTransactionBase::Initialize(), FxTimer::Initialize(), FxDpc::Initialize(), FxWorkItem::Initialize(), FxPkgPnp::Initialize(), FxDmaEnabler::InitializeResources(), FxDmaScatterGatherTransaction::InitializeResources(), FxLookasideList::InitObjectAlloc(), FxPagedLookasideListFromPool::InitPagedAlloc(), FxRequest::InsertHeadIrpQueue(), FxRequest::InsertTailIrpQueue(), FxPowerIdleMachine::IoDecrement(), FxDmaPacketTransaction::MapTransfer(), FxPkgGeneral::OnCreate(), FxIoTargetRemoteNotificationCallback::OnQueryRemove(), FxIoTargetRemoteNotificationCallback::OnRemoveCanceled(), FxIoTargetRemoteNotificationCallback::OnRemoveComplete(), FxDevice::OpenDevicemapKeyWorker(), FxIoQueue::PeekRequest(), PerfEvtDeviceD0EntryStart(), PerfEvtDeviceD0ExitStart(), PerfEvtDevicePrepareHardwareStart(), PerfEvtDeviceReleaseHardwareStart(), PerfEvtIoStopStart(), PerfEvtIoStopStop(), PerfIoComplete(), PerfIoStart(), PerformanceAnalysisIOProcess(), PerformanceAnalysisPowerProcess(), PerformanceGetDriverDeviceAdd(), FxPkgPdo::PnpQueryDeviceRelations(), FxPkgGeneral::PostCreateDeviceInitialize(), FxDmaEnabler::PowerDown(), FxDmaEnabler::PowerUp(), FxDmaSystemTransaction::PreMapTransfer(), FxRequest::ProbeAndLockForRead(), FxRequest::ProbeAndLockForWrite(), FxChildList::ProcessBusRelations(), FxDmaPacketTransaction::ReleaseAdapter(), FxDmaTransactionBase::ReleaseForReuse(), FxRequest::RemoveFromIrpQueue(), FxDmaPacketTransaction::ReserveAdapter(), FxPowerIdleMachine::Reset(), FxUsbPipeContinuousReader::ResubmitRepeater(), FxRequest::Reuse(), FxUsbDevice::SelectConfig(), FxUsbDevice::SelectConfigDescriptor(), FxUsbDevice::SelectConfigInterfaces(), FxUsbDevice::SelectConfigMulti(), FxRequest::SetInformation(), FxDmaScatterGatherTransaction::StageTransfer(), FxDmaPacketTransaction::StageTransfer(), FxDmaPacketTransaction::StartTransfer(), FxDmaSystemTransaction::StopTransfer(), FxIoTarget::SubmitLocked(), FxIoTarget::SubmitSyncRequestIgnoreTargetState(), FxDmaPacketTransaction::TransferCompleted(), FxTagTracker::UpdateTagHistory(), FxPkgIo::VerifierFreeRequestToTestForwardProgess(), VfAddContextToHandle(), VfAllocateContext(), VfWdfObjectGetTypedContext(), WDF_LIBRARY_REGISTER_CLIENT(), WdfCxVerifierKeBugCheck(), WdfVerifierDbgBreakPoint(), WdfVerifierKeBugCheck(), and FxWorkItem::~FxWorkItem().

◆ pId

Definition at line 662 of file fxchildlistapi.cpp.

Referenced by ProcessKeys().

◆ pList

◆ RetrieveInfo

Initial value:
{
FxChildList * pList

Definition at line 660 of file fxchildlistapi.cpp.

◆ status

◆ Status

◆ totalDescriptionSize

size_t totalDescriptionSize = 0

Definition at line 56 of file fxchildlistapi.cpp.

Referenced by FxPkgFdo::CreateDefaultDeviceList(), and FxPkgFdo::Initialize().