|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include "fxsupportpch.hpp"
Go to the source code of this file.
Functions | |
| _Must_inspect_result_ | __drv_maxIRQL (DISPATCH_LEVEL) NTSTATUS NTAPI WDFEXPORT(WdfCollectionCreate)(__in PWDF_DRIVER_GLOBALS DriverGlobals |
| if (NT_SUCCESS(FxValidateObjectAttributesForParentHandle(pFxDriverGlobals, CollectionAttributes))) | |
| FxPointerNotNull (pFxDriverGlobals, Collection) | |
| if (!NT_SUCCESS(status)) | |
| if (pCollection !=NULL) | |
| FxObjectHandleGetPtr (GetFxDriverGlobals(DriverGlobals), Collection, FX_TYPE_COLLECTION,(PVOID *)&pCollection) | |
| pCollection | Unlock (irql) |
| FxObjectHandleGetPtrAndGlobals (GetFxDriverGlobals(DriverGlobals), Collection, FX_TYPE_COLLECTION,(PVOID *) &pCollection, &pFxDriverGlobals) | |
| FxObjectHandleGetPtr (pFxDriverGlobals, Object, FX_TYPE_OBJECT,(PVOID *) &pObject) | |
| if (pEntry !=NULL) | |
| if (pObject !=NULL) | |
| FxObjectHandleGetPtr (pFxDriverGlobals, Item, FX_TYPE_OBJECT,(PVOID *) &pObject) | |
| FxObjectHandleGetPtr (GetFxDriverGlobals(DriverGlobals), Collection, FX_TYPE_COLLECTION,(PVOID *) &pCollection) | |
| if (pObject==NULL) | |
| return pObject | GetObjectHandle () |
Variables | |
| _Must_inspect_result_ __in_opt PWDF_OBJECT_ATTRIBUTES | CollectionAttributes |
| _Must_inspect_result_ __in_opt PWDF_OBJECT_ATTRIBUTES __out WDFCOLLECTION * | Collection |
| PFX_DRIVER_GLOBALS | pFxDriverGlobals = GetFxDriverGlobals(DriverGlobals) |
| NTSTATUS | status = FxValidateObjectAttributes(pFxDriverGlobals, CollectionAttributes) |
| FxCollection * | pCollection |
| WDFCOLLECTION | hCol |
| else | |
| KIRQL | irql |
| ULONG | count = pCollection->Count() |
| _Must_inspect_result_ __in WDFCOLLECTION __in WDFOBJECT | Object |
| FxObject * | pObject = pCollection->GetItem(Index) |
| __in WDFCOLLECTION __in ULONG | Index |
| FxCollectionEntry * | pEntry = pCollection->FindEntry(Index) |
| __in WDFCOLLECTION __in WDFOBJECT | Item |
| _Must_inspect_result_ __drv_maxIRQL | ( | DISPATCH_LEVEL | ) |
| FxObjectHandleGetPtr | ( | GetFxDriverGlobals(DriverGlobals) | , |
| Collection | , | ||
| FX_TYPE_COLLECTION | , | ||
| (PVOID *) & | pCollection | ||
| ) |
| FxObjectHandleGetPtr | ( | GetFxDriverGlobals(DriverGlobals) | , |
| Collection | , | ||
| FX_TYPE_COLLECTION | , | ||
| (PVOID *)& | pCollection | ||
| ) |
| FxObjectHandleGetPtr | ( | pFxDriverGlobals | , |
| Item | , | ||
| FX_TYPE_OBJECT | , | ||
| (PVOID *) & | pObject | ||
| ) |
| FxObjectHandleGetPtr | ( | pFxDriverGlobals | , |
| Object | , | ||
| FX_TYPE_OBJECT | , | ||
| (PVOID *) & | pObject | ||
| ) |
| FxObjectHandleGetPtrAndGlobals | ( | GetFxDriverGlobals(DriverGlobals) | , |
| Collection | , | ||
| FX_TYPE_COLLECTION | , | ||
| (PVOID *) & | pCollection, | ||
| & | pFxDriverGlobals | ||
| ) |
Referenced by if().
| FxPointerNotNull | ( | pFxDriverGlobals | , |
| Collection | |||
| ) |
Referenced by __drv_requiresIRQL(), _Releases_lock_(), FxResourceCollection::AddAt(), FxCommonBuffer::AllocateCommonBuffer(), FxObject::CallCleanupCallbacks(), FxDmaTransactionBase::CancelResourceAllocation(), FxIoQueue::CanThreadDispatchEventsLocked(), FxIoTargetRemote::ClearTargetPointers(), FxIoTargetRemote::Close(), FxIoTarget::CompleteCanceledRequest(), FxRequest::CompleteInternal(), FxIoQueue::ConfigureConstraints(), FxIoQueue::DispatchRequestToDriver(), FxDmaTransactionBase::Dispose(), FxDpc::DpcHandler(), FxIoTarget::DrainPendedRequestsLocked(), FxDmaTransactionBase::Execute(), FxRequest::GetDeviceControlOutputMemoryObject(), FxDmaTransactionBase::GetHandle(), FxChildList::GetHandle(), FxDeviceBase::GetHandle(), FxDriver::GetHandle(), FxFileObject::GetHandle(), FxInterrupt::GetHandle(), FxIoQueue::GetHandle(), FxIoTarget::GetHandle(), FxIoTargetRemote::GetHandle(), FxMemoryObject::GetHandle(), FxRequestBase::GetHandle(), FxCmResList::GetHandle(), FxIoResReqList::GetHandle(), FxIoResList::GetHandle(), FxTimer::GetHandle(), FxUsbInterface::GetHandle(), FxUsbPipe::GetHandle(), FxUserObject::GetHandle(), FxWmiInstance::GetHandle(), FxWmiProvider::GetHandle(), FxWorkItem::GetHandle(), FxDmaEnabler::GetHandle(), FxRequest::GetMemoryObject(), FxIoQueue::GetRequest(), FxIoTargetRemote::GetTargetDeviceRelations(), FxRequestBase::GetTraceObjectHandle(), FxDmaTransactionBase::GetTransferInfo(), FxIoTarget::GotoPurgeState(), FxIoTarget::GotoRemoveState(), FxIoTarget::GotoStartState(), FxIoTarget::GotoStopState(), FxIoTarget::HandleFailedResubmit(), if(), FxIoTarget::Init(), FxDmaTransactionBase::Initialize(), FxIoQueue::Initialize(), FxIoTargetRemote::Open(), FxIoTargetRemote::OpenTargetHandle(), FxIoQueue::PostRequestCompletedCallback(), FxIoQueue::PreRequestCompletedCallback(), FxIoTarget::PrintDisposeMessage(), FxRequest::ProbeAndLockForRead(), FxRequest::ProbeAndLockForWrite(), FxChildList::ProcessModificationsLocked(), FxIoQueue::QueueDrainSynchronously(), FxIoQueue::QueueIdle(), FxIoQueue::QueueIdleSynchronously(), FxIoQueue::QueuePurge(), FxIoQueue::QueuePurgeSynchronously(), FxIoQueue::QueueRequest(), FxIoQueue::QueueRequestFromForward(), FxIoQueue::ReadyNotify(), FxDmaPacketTransaction::ReleaseAdapter(), FxDmaTransactionBase::ReleaseForReuse(), FxResourceCollection::RemoveAndDelete(), FxIoTarget::RemoveCompletedRequestLocked(), FxIoQueue::RequestCompletedCallback(), FxIoTarget::RequestCompletionRoutine(), FxDmaPacketTransaction::ReserveAdapter(), FxUsbDevice::SelectConfigMulti(), FxIoTargetSelf::Send(), FxIoQueue::SetState(), FxIoQueue::StartPowerTransitionOff(), FxIoQueue::StopProcessingForPower(), FxDmaSystemTransaction::StopTransfer(), FxIoTarget::SubmitLocked(), FxIoTarget::SubmitSync(), FxIoTarget::TimerCallback(), and FxIoTarget::WaitForDisposeEvent().
| if | ( | ! | NT_SUCCESSstatus | ) |
Definition at line 76 of file fxcollectionapi.cpp.
| if | ( | NT_SUCCESS(FxValidateObjectAttributesForParentHandle( pFxDriverGlobals, CollectionAttributes)) | ) |
Definition at line 60 of file fxcollectionapi.cpp.
| if | ( | pCollection ! | = NULL | ) |
Definition at line 83 of file fxcollectionapi.cpp.
Definition at line 205 of file fxcollectionapi.cpp.
Definition at line 217 of file fxcollectionapi.cpp.
Definition at line 316 of file fxcollectionapi.cpp.
| pCollection Unlock | ( | irql | ) |
| __in WDFCOLLECTION Collection |
Definition at line 45 of file fxcollectionapi.cpp.
| _Must_inspect_result_ __in_opt PWDF_OBJECT_ATTRIBUTES CollectionAttributes |
Definition at line 43 of file fxcollectionapi.cpp.
Referenced by if().
| return count = pCollection->Count() |
Definition at line 121 of file fxcollectionapi.cpp.
| else |
Definition at line 97 of file fxcollectionapi.cpp.
| WDFCOLLECTION hCol |
Definition at line 53 of file fxcollectionapi.cpp.
Referenced by if().
Definition at line 183 of file fxcollectionapi.cpp.
| pCollection Lock& irql |
Definition at line 120 of file fxcollectionapi.cpp.
Definition at line 239 of file fxcollectionapi.cpp.
| _Must_inspect_result_ __in WDFCOLLECTION __in WDFOBJECT Object |
Definition at line 145 of file fxcollectionapi.cpp.
| FxCollection * pCollection |
Definition at line 52 of file fxcollectionapi.cpp.
Referenced by if().
| pEntry = pCollection->FindEntry(Index) |
Definition at line 190 of file fxcollectionapi.cpp.
Referenced by if().
| PFX_DRIVER_GLOBALS pFxDriverGlobals = GetFxDriverGlobals(DriverGlobals) |
Definition at line 50 of file fxcollectionapi.cpp.
Referenced by if().
| pObject = pCollection->GetItem(Index) |
Definition at line 152 of file fxcollectionapi.cpp.
Referenced by if().
Definition at line 51 of file fxcollectionapi.cpp.
Referenced by if().