60 if (OutDevice !=
NULL) {
73 "%s: Incorrect device handle supplied (0x%p). "
154 "PDO WDFDEVICE %p not reported yet to pnp, cannot eject!",
161 "Can only eject PDOs, %!STATUS!",
status);
193 "Can only eject PDOs, %!STATUS!",
status);
204WDFEXPORT(WdfPdoRetrieveIdentificationDescription)(
259WDFEXPORT(WdfPdoRetrieveAddressDescription)(
316WDFEXPORT(WdfPdoUpdateAddressDescription)(
364WDFEXPORT(WdfPdoAddEjectionRelationsPhysicalDevice)(
414WDFEXPORT(WdfPdoRemoveEjectionRelationsPhysicalDevice)(
461WDFEXPORT(WdfPdoClearEjectionRelationsDevices)(
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char * FunctionName
_Must_inspect_result_ NTSTATUS UpdateDeviceAsMissing(__in CfxDevice *Device)
VOID GetAddressDescriptionFromEntry(__in FxDeviceDescriptionEntry *Entry, __out PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER AddressDescription)
BOOLEAN HasAddressDescriptions(VOID)
BOOLEAN IsStaticList(VOID)
VOID UpdateAddressDescriptionFromEntry(__inout FxDeviceDescriptionEntry *Entry, __in PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER AddressDescription)
ULONG GetIdentificationDescriptionSize(VOID)
ULONG GetAddressDescriptionSize(VOID)
VOID CopyId(__out PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER Dest, __in PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER Source)
WDFDEVICE __inline GetHandle(VOID)
CfxDevice * m_ParentDevice
MdDeviceObject __inline GetSafePhysicalDevice(VOID)
__inline BOOLEAN IsPdo(VOID)
__inline FxPkgPdo * GetPdoPkg(VOID)
VOID RemoveEjectionDevice(__in MdDeviceObject DependentDevice)
FxChildList * m_OwningChildList
FxDeviceDescriptionEntry * m_Description
_Must_inspect_result_ NTSTATUS AddEjectionDevice(__in MdDeviceObject DependentDevice)
VOID ClearEjectionDevicesList(VOID)
VOID NTAPI IoRequestDeviceEject(IN PDEVICE_OBJECT PhysicalDeviceObject)
#define NT_SUCCESS(StatCode)
#define __drv_maxIRQL(irql)
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
FxObjectHandleGetPtrAndGlobals(GetFxDriverGlobals(DriverGlobals), Device, FX_TYPE_DEVICE,(PVOID *)&pDevice, &pFxDriverGlobals)
_Must_inspect_result_ __in WDFDEVICE __in PDEVICE_OBJECT PhysicalDevice
_Must_inspect_result_ __in WDFDEVICE Device
FxVerifierDbgBreakPoint(pFxDriverGlobals)
NTSTATUS GetPdoPackageFromDeviceHandle(__in IN PFX_DRIVER_GLOBALS CallersGlobals, __in WDFDEVICE Device, __in PCHAR FunctionName, __out FxPkgPdo **Package, __out PFX_DRIVER_GLOBALS *ObjectGlobals, __out_opt FxDevice **OutDevice=NULL)
_Must_inspect_result_ __in WDFDEVICE __inout PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER AddressDescription
_Must_inspect_result_ __in WDFDEVICE __inout PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER IdentificationDescription
PFX_DRIVER_GLOBALS pFxDriverGlobals
__inline PFX_DRIVER_GLOBALS GetFxDriverGlobals(__in PWDF_DRIVER_GLOBALS DriverGlobals)
#define FxPointerNotNull(FxDriverGlobals, Ptr)
#define _Must_inspect_result_
#define TRACE_LEVEL_ERROR
PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER GetId(VOID)
FxChildList * GetParentList(VOID)
#define STATUS_INVALID_DEVICE_REQUEST
#define STATUS_INVALID_PARAMETER
_Must_inspect_result_ _In_ WDFDEVICE Device
_In_ PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER IdentificationDescription
_Inout_ PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER AddressDescription
_Must_inspect_result_ _In_ WDFDEVICE _In_ PDEVICE_OBJECT PhysicalDevice