ReactOS
0.4.15-dev-1632-g4e289ce
|
Go to the source code of this file.
Classes | |
struct | FxOffsetAndName |
Macros | |
#define | OFFSET_AND_NAME(type, offset) { #offset, FIELD_OFFSET(type, offset) } |
Definition at line 37 of file fxdeviceapi.cpp.
__drv_maxIRQL | ( | DISPATCH_LEVEL | ) |
_Must_inspect_result_ __drv_maxIRQL | ( | PASSIVE_LEVEL | ) |
_Must_inspect_result_ __in WDFDEVICE __in DEVICE_REGISTRY_PROPERTY __in __drv_strictTypeMatch | ( | __drv_typeExpr | ) |
_Must_inspect_result_ __in WDFDEVICE __in WDFQUEUE __in __drv_strictTypeMatch | ( | __drv_typeCond | ) |
Definition at line 1773 of file fxdeviceapi.cpp.
|
pure virtual |
_Must_inspect_result_ __in WDFDEVICE __in DEVICE_REGISTRY_PROPERTY __in ULONG __out_bcount_full | ( | BufferLength | ) |
_IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
Definition at line 3557 of file common.c.
_Must_inspect_result_ _IRQL_requires_max_ | ( | PASSIVE_LEVEL | ) |
Definition at line 64 of file Messaging.c.
_Must_inspect_result_ _IRQL_requires_max_ | ( | APC_LEVEL | ) |
Definition at line 197 of file cddata.c.
DoTraceLevelMessage | ( | pFxDriverGlobals | , |
TRACE_LEVEL_ERROR | , | ||
TRACINGPNP | , | ||
"Device name for WDFDEVICE 0x%p is NULL. Possibly incorrect " "device handle was | passed, | ||
%!STATUS!" | , | ||
Device | , | ||
status | |||
) |
Referenced by __drv_strictTypeMatch(), if(), ResumeIdleWorker(), StopIdleWorker(), switch(), and VerifyWdfDeviceWdmDispatchIrpToIoQueue().
DoTraceLevelMessage | ( | pFxDriverGlobals | , |
TRACE_LEVEL_VERBOSE | , | ||
TRACINGDEVICE | , | ||
"exit WDFDEVICE % | p, | ||
Property % | d, | ||
%!STATUS!" | , | ||
Device | , | ||
DeviceProperty | , | ||
status | |||
) |
DoTraceLevelMessage | ( | pFxDriverGlobals | , |
TRACE_LEVEL_INFORMATION | , | ||
TRACINGDEVICE | , | ||
"WDFDEVICE % | p, | ||
!devobj %p SetFailed %!WDF_DEVICE_FAILED_ACTION!" | , | ||
Device | , | ||
pDevice-> | GetDeviceObject(), | ||
FailedAction | |||
) |
for | ( | ) |
Definition at line 827 of file fxdeviceapi.cpp.
FxObjectHandleGetPtr | ( | GetFxDriverGlobals(DriverGlobals) | , |
Device | , | ||
FX_TYPE_DEVICE | , | ||
(PVOID *) & | pDevice | ||
) |
Referenced by __drv_strictTypeMatch(), and if().
FxObjectHandleGetPtr | ( | GetFxDriverGlobals(DriverGlobals) | , |
Device | , | ||
FX_TYPE_DEVICE_BASE | , | ||
(PVOID *) & | pDeviceBase | ||
) |
FxObjectHandleGetPtr | ( | pFxDriverGlobals | , |
String | , | ||
FX_TYPE_STRING | , | ||
(PVOID *) & | pString | ||
) |
FxObjectHandleGetPtr | ( | pFxDriverGlobals | , |
Device | , | ||
FX_TYPE_DEVICE | , | ||
(PVOID *) & | pDevice | ||
) |
FxObjectHandleGetPtr | ( | pFxDriverGlobals | , |
Request | , | ||
FX_TYPE_REQUEST | , | ||
(PVOID *) & | pRequest | ||
) |
FxObjectHandleGetPtrAndGlobals | ( | GetFxDriverGlobals(DriverGlobals) | , |
Device | , | ||
FX_TYPE_DEVICE | , | ||
(PVOID *) & | pDevice, | ||
& | pFxDriverGlobals | ||
) |
Referenced by __drv_strictTypeMatch(), ResumeIdleWorker(), and StopIdleWorker().
FxPointerNotNull | ( | pFxDriverGlobals | , |
Settings | |||
) |
Referenced by if().
FxPointerNotNull | ( | pFxDriverGlobals | , |
Key | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
DeviceState | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
DeviceInit | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
* | DeviceInit | ||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
Device | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
SymbolicLinkName | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
ResultLength | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
PropertyMemory | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
PnpCapabilities | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
PowerCapabilities | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
DeviceProperty | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
RequiredSize | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
Type | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
EvtDeviceWdmIrpDispatch | |||
) |
FxVerifierCheckNxPoolType | ( | pFxDriverGlobals | , |
PoolType | , | ||
pFxDriverGlobals-> | Tag | ||
) |
return deviceObject GetAlignmentRequirement | ( | ) |
return deviceObject GetCharacteristics | ( | ) |
Referenced by DECLARE_INTERFACE_().
pDevice m_PkgPnp GetPnpState | ( | DeviceState | ) |
Definition at line 107 of file fxdeviceapi.cpp.
if | ( | ! | NT_SUCCESSstatus | ) |
Definition at line 190 of file fxdeviceapi.cpp.
if | ( | pDevice->m_DeviceName.Buffer ! | = NULL | ) |
Definition at line 199 of file fxdeviceapi.cpp.
Definition at line 410 of file fxdeviceapi.cpp.
Definition at line 424 of file fxdeviceapi.cpp.
else if | ( | Settings->DxState< PowerDeviceD1||Settings-> | DxState, |
PowerDeviceMaximum||Settings->IdleCaps< IdleCannotWakeFromS0||Settings-> | IdleCaps, | ||
IdleUsbSelectiveSuspend||Settings->UserControlOfIdleSettings< IdleDoNotAllowUserControl||Settings-> | UserControlOfIdleSettings, | ||
IdleAllowUserControl||Settings->Enabled< WdfFalse||Settings-> | Enabled, | ||
WdfUseDefault | |||
) |
Definition at line 435 of file fxdeviceapi.cpp.
if | ( | Settings-> | Size, |
sizeof(WDF_DEVICE_POWER_POLICY_IDLE_SETTINGS_V1_7) | |||
) |
Definition at line 456 of file fxdeviceapi.cpp.
if | ( | Settings-> | Size, |
sizeof(WDF_DEVICE_POWER_POLICY_IDLE_SETTINGS_V1_9) | |||
) |
Definition at line 482 of file fxdeviceapi.cpp.
else if | ( | Settings->DxState< PowerDeviceD1||Settings-> | DxState, |
PowerDeviceMaximum||Settings->UserControlOfWakeSettings< WakeDoNotAllowUserControl||Settings-> | UserControlOfWakeSettings, | ||
WakeAllowUserControl||Settings->Enabled< WdfFalse||Settings-> | Enabled, | ||
WdfUseDefault | |||
) |
Definition at line 549 of file fxdeviceapi.cpp.
if | ( | KeyName-> | Length = = 0 | ) |
Definition at line 691 of file fxdeviceapi.cpp.
Definition at line 713 of file fxdeviceapi.cpp.
if | ( | NT_SUCCESS(status) | ) |
Definition at line 724 of file fxdeviceapi.cpp.
if | ( | DeviceState->Size ! | = sizeof(WDF_DEVICE_STATE) | ) |
Definition at line 768 of file fxdeviceapi.cpp.
if | ( | *DeviceInit->CreatedDevice ! | = NULL | ) |
Definition at line 918 of file fxdeviceapi.cpp.
if | ( | *DeviceInit->Security.Sddl ! | = NULL || (*DeviceInit)->Security.DeviceClassSet | ) |
Definition at line 934 of file fxdeviceapi.cpp.
if | ( | *DeviceInit-> | RequiresSelfIoTarget | ) |
Definition at line 953 of file fxdeviceapi.cpp.
if | ( | pDevice->m_SymbolicLinkName.Buffer ! | = NULL | ) |
Definition at line 1023 of file fxdeviceapi.cpp.
if | ( | BufferLength | , |
0 | |||
) |
Definition at line 1092 of file fxdeviceapi.cpp.
if | ( | pDevice-> | IsLegacy() | ) |
Definition at line 1101 of file fxdeviceapi.cpp.
if | ( | Stoppable | ) |
Definition at line 1242 of file fxdeviceapi.cpp.
if | ( | FailedAction< WdfDeviceFailedAttemptRestart||FailedAction > | WdfDeviceFailedNoRestart | ) |
Definition at line 1281 of file fxdeviceapi.cpp.
if | ( | PnpCapabilities->Size ! | = sizeof(WDF_DEVICE_PNP_CAPABILITIES) | ) |
Definition at line 1548 of file fxdeviceapi.cpp.
if | ( | PowerCapabilities->Size ! | = sizeof(WDF_DEVICE_POWER_CAPABILITIES) | ) |
Definition at line 1643 of file fxdeviceapi.cpp.
if | ( | pFxIoQueue | = = NULL | ) |
Definition at line 1946 of file fxdeviceapi.cpp.
if | ( | DeviceProperty->Size ! | = sizeof(WDF_DEVICE_PROPERTY_DATA) | ) |
Definition at line 2171 of file fxdeviceapi.cpp.
if | ( | BufferLength ! | = 0 && PropertyBuffer == NULL | ) |
Definition at line 2189 of file fxdeviceapi.cpp.
if | ( | BufferLength | = = 0 && PropertyBuffer != NULL | ) |
Definition at line 2197 of file fxdeviceapi.cpp.
Definition at line 2532 of file fxdeviceapi.cpp.
pDevice InvalidateDeviceState | ( | ) |
return pDevice m_PkgPnp PowerPolicySetSxWakeSettings | ( | Settings | , |
armForWakeIfChildrenAreArmedForWake | , | ||
indicateChildWakeOnParentWake | |||
) |
__inline VOID ResumeIdleWorker | ( | __in PWDF_DRIVER_GLOBALS | DriverGlobals, |
__in WDFDEVICE | Device, | ||
__in PVOID | Tag, | ||
__in LONG | Line, | ||
__in PSTR | File | ||
) |
Definition at line 1355 of file fxdeviceapi.cpp.
ResumeIdleWorker | ( | DriverGlobals | , |
Device | , | ||
NULL | , | ||
0 | , | ||
NULL | |||
) |
ResumeIdleWorker | ( | DriverGlobals | , |
Device | , | ||
Tag | , | ||
Line | , | ||
File | |||
) |
return | ( | WDFQUEUE | ) | -> GetObjectHandle() |
deviceObject SetAlignmentRequirement | ( | AlignmentRequirement | ) |
deviceObject SetCharacteristics | ( | DeviceCharacteristics| | FILE_DEVICE_SECURE_OPEN | ) |
pDevice m_PkgPnp SetDeviceFailed | ( | FailedAction | ) |
deviceObject SetObject | ( | pDevice-> | GetDeviceObject() | ) |
deviceObject SetObject | ( | pDeviceBase-> | GetDeviceObject() | ) |
pDevice m_PkgPnp SetPnpState | ( | DeviceState | ) |
__inline NTSTATUS StopIdleWorker | ( | __in PWDF_DRIVER_GLOBALS | DriverGlobals, |
__in WDFDEVICE | Device, | ||
__in BOOLEAN | WaitForD0, | ||
__in PVOID | Tag, | ||
__in LONG | Line, | ||
__in PSTR | File | ||
) |
Definition at line 1300 of file fxdeviceapi.cpp.
switch | ( | MajorFunction | ) |
Definition at line 2512 of file fxdeviceapi.cpp.
_Must_inspect_result_ NTSTATUS FX_VF_FUNCTION() VerifyWdfDeviceWdmDispatchIrpToIoQueue | ( | _In_ PFX_DRIVER_GLOBALS | FxDriverGlobals, |
_In_ FxDevice * | device, | ||
_In_ MdIrp | Irp, | ||
_In_ FxIoQueue * | queue, | ||
_In_ ULONG | Flags | ||
) |
Definition at line 2608 of file fxdeviceapi.cpp.
exit __pad5__ |
Definition at line 2603 of file fxdeviceapi.cpp.
__in WDFDEVICE __in ULONG AlignmentRequirement |
Definition at line 301 of file fxdeviceapi.cpp.
armForWakeIfChildrenAreArmedForWake |
Definition at line 514 of file fxdeviceapi.cpp.
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG BufferLength |
Definition at line 1047 of file fxdeviceapi.cpp.
Definition at line 600 of file fxdeviceapi.cpp.
_Must_inspect_result_ _In_ WDFDEVICE Device |
Definition at line 68 of file fxdeviceapi.cpp.
Definition at line 874 of file fxdeviceapi.cpp.
__in WDFDEVICE __in ULONG DeviceCharacteristics |
Definition at line 224 of file fxdeviceapi.cpp.
ULONG deviceFlags |
Definition at line 2497 of file fxdeviceapi.cpp.
Definition at line 874 of file fxdeviceapi.cpp.
_Must_inspect_result_ __in WDFDEVICE __in ULONG DeviceInstanceKeyType |
Definition at line 600 of file fxdeviceapi.cpp.
MxDeviceObject deviceObject |
Definition at line 228 of file fxdeviceapi.cpp.
Referenced by __drv_strictTypeMatch(), Bus_AddDevice(), CreateCdRomDeviceObject(), CreateDiskDeviceObject(), CreateFlopDeviceObject(), CreatePartitionDeviceObjects(), DiskCreateFdo(), DiskReregWorker(), DiskSendFailurePredictIoctl(), FxPkgFdo::DispatchSystemSetPower(), FxPkgPdo::DispatchSystemSetPower(), DpcRoutine(), FreeBT_AddDevice(), GetStackCapabilities(), FxIoTarget::GetTargetIoType(), if(), FxIoTarget::Init(), PartMgrAddDevice(), FxPkgPnp::PnpDeviceUsageNotification(), FxPkgPnp::PowerPolCheckPowerPageable(), FxPkgPnp::PowerPolicySetS0IdleSettings(), FxPkgPnp::PowerSetDevicePowerState(), FxPkgPnp::QueryForCapabilities(), FxPkgPnp::QueryForD3ColdInterface(), ReportToMountMgr(), FxIrp::RequestPowerIrp(), ScsiClassCreateDeviceObject(), SetD3ColdSupport(), UDFCheckOtherFS(), UDFCheckOtherFSByName(), and UpdateDeviceObjects().
Definition at line 1047 of file fxdeviceapi.cpp.
__in WDFDEVICE __in PWDF_DEVICE_STATE DeviceState |
Definition at line 754 of file fxdeviceapi.cpp.
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDRIVER Driver |
Definition at line 2450 of file fxdeviceapi.cpp.
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDRIVER _In_ UCHAR _In_ PFN_WDFDEVICE_WDM_IRP_DISPATCH _In_opt_ WDFCONTEXT DriverContext |
Definition at line 2492 of file fxdeviceapi.cpp.
else |
Definition at line 202 of file fxdeviceapi.cpp.
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDRIVER _In_ UCHAR _In_ PFN_WDFDEVICE_WDM_IRP_DISPATCH EvtDeviceWdmIrpDispatch |
Definition at line 2450 of file fxdeviceapi.cpp.
Referenced by FxPkgIo::ConfigureDynamicDispatching().
__in WDFDEVICE __in WDF_DEVICE_FAILED_ACTION FailedAction |
Definition at line 1269 of file fxdeviceapi.cpp.
Definition at line 1435 of file fxdeviceapi.cpp.
ULONG i |
Definition at line 798 of file fxdeviceapi.cpp.
indicateChildWakeOnParentWake |
Definition at line 515 of file fxdeviceapi.cpp.
* Key |
Definition at line 610 of file fxdeviceapi.cpp.
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES KeyAttributes |
Definition at line 600 of file fxdeviceapi.cpp.
WDFKEY keyHandle |
Definition at line 674 of file fxdeviceapi.cpp.
Referenced by FxDevice::_OpenKey(), and if().
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING KeyName |
Definition at line 657 of file fxdeviceapi.cpp.
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDRIVER _In_ UCHAR MajorFunction |
Definition at line 2450 of file fxdeviceapi.cpp.
return NULL |
Definition at line 111 of file fxdeviceapi.cpp.
Referenced by __drv_strictTypeMatch(), if(), and VerifyWdfDeviceWdmDispatchIrpToIoQueue().
|
static |
Definition at line 800 of file fxdeviceapi.cpp.
pCxDeviceInfo = NULL |
Definition at line 2496 of file fxdeviceapi.cpp.
Referenced by if().
pDevice = NULL |
Definition at line 71 of file fxdeviceapi.cpp.
Referenced by __drv_strictTypeMatch(), if(), ResumeIdleWorker(), and StopIdleWorker().
FxDeviceBase* pDeviceBase |
Definition at line 98 of file fxdeviceapi.cpp.
FxAutoString pdoName |
Definition at line 991 of file fxdeviceapi.cpp.
Referenced by FxDevice::CreateSymbolicLink().
FxDevice* pFxDevice |
Definition at line 1924 of file fxdeviceapi.cpp.
PFX_DRIVER_GLOBALS pFxDriverGlobals = GetFxDriverGlobals(DriverGlobals) |
Definition at line 178 of file fxdeviceapi.cpp.
Referenced by __drv_strictTypeMatch(), if(), ResumeIdleWorker(), StopIdleWorker(), and switch().
pFxIoQueue = NULL |
Definition at line 1923 of file fxdeviceapi.cpp.
Referenced by __drv_strictTypeMatch().
Definition at line 673 of file fxdeviceapi.cpp.
Referenced by FxDevice::_OpenKey(), _SHOpenProfilesKey(), if(), FxDevice::OpenDevicemapKeyWorker(), read_key_value(), RfsdBuildBDL2(), RfsdLoadInode(), RSAENH_CPHashSessionKey(), store_key_pair(), store_key_permissions(), test_GetDeviceInfo(), and test_save_settings().
__in WDFDEVICE __in PWDF_DEVICE_PNP_CAPABILITIES PnpCapabilities |
Definition at line 1521 of file fxdeviceapi.cpp.
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ _Strict_type_match_ POOL_TYPE PoolType |
Definition at line 2226 of file fxdeviceapi.cpp.
Definition at line 1619 of file fxdeviceapi.cpp.
pPkgIo = NULL |
Definition at line 1923 of file fxdeviceapi.cpp.
Referenced by FxPkgGeneral::OnCleanup().
FxRequest* pRequest |
Definition at line 2001 of file fxdeviceapi.cpp.
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG _In_opt_ PVOID PropertyBuffer |
Definition at line 2094 of file fxdeviceapi.cpp.
Definition at line 1166 of file fxdeviceapi.cpp.
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES PropertyMemoryAttributes |
Definition at line 1142 of file fxdeviceapi.cpp.
FxString * pString |
Definition at line 180 of file fxdeviceapi.cpp.
Referenced by ATL::CStringT< BaseType, StringTraits >::Construct(), FileGetString(), FxCalculateTotalStringSize(), FxDriver::GetRegistryPath(), GetStringValue(), if(), IntUnicodeStringToBuffer(), load_string(), LoadAllocStringW(), NetrJobEnum(), pSetupGuidFromString(), pSetupStringFromGuid(), FxDeviceInterface::Register(), ScmCreateOrReferenceServiceImage(), ScriptStringAnalyse(), TiWriteErrorLog(), ToMultiSz(), and WDML_QueryString().
FxIoTarget * pTarget = pDeviceBase->GetDefaultIoTarget() |
Definition at line 97 of file fxdeviceapi.cpp.
Referenced by FxIoTargetRemote::_Create(), _IsNonwritableInCurrentImage(), FxDeviceBase::AllocateTarget(), FxRequestBase::CompleteSubmitted(), CKsProxy::ConvertTimeFormat(), COutputPin::ConvertTimeFormat(), CopyIpAddrString(), FFSAddEntry(), FFSIsDirectoryEmpty(), FFSRemoveEntry(), GetNetworkParams(), if(), MediaSeeking_ConvertTimeFormat(), MediaSeekingPassThru_ConvertTimeFormat(), NtfsWSubString(), RfsdIsDirectoryEmpty(), SourceSeekingImpl_ConvertTimeFormat(), and FxUsbDevice::Start().
_Must_inspect_result_ __in WDFDEVICE __in WDFQUEUE Queue |
Definition at line 1769 of file fxdeviceapi.cpp.
_Must_inspect_result_ __in WDFDEVICE __in WDFREQUEST Request |
Definition at line 1996 of file fxdeviceapi.cpp.
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG RequiredSize |
Definition at line 2094 of file fxdeviceapi.cpp.
_Must_inspect_result_ __in WDFDEVICE __in DEVICE_REGISTRY_PROPERTY __in ULONG __out PULONG ResultLength |
Definition at line 1078 of file fxdeviceapi.cpp.
return |
Definition at line 1255 of file fxdeviceapi.cpp.
Definition at line 395 of file fxdeviceapi.cpp.
Definition at line 181 of file fxdeviceapi.cpp.
Referenced by __drv_strictTypeMatch(), if(), StopIdleWorker(), and VerifyWdfDeviceWdmDispatchIrpToIoQueue().
Definition at line 1232 of file fxdeviceapi.cpp.
_Must_inspect_result_ __in WDFDEVICE __in WDFSTRING String |
Definition at line 175 of file fxdeviceapi.cpp.
Definition at line 987 of file fxdeviceapi.cpp.
Definition at line 2153 of file fxdeviceapi.cpp.
_Must_inspect_result_ __in WDFDEVICE __in BOOLEAN WaitForD0 |
Definition at line 1401 of file fxdeviceapi.cpp.