52{
60 DPRINT1(
" Size = %u, Version = %u, InterfaceData = %p, LastChance = %s\n",
63 InterfaceData,
64 LastChance ? "TRUE" : "FALSE");
65
66
70 {
71
73
74
76
77
79 {
80
82 {
83
84 DPRINT1(
"PCI - PciQueryInterface: guid = %wZ only for FDOs\n",
87 continue;
88 }
89
90
93 {
94
95 DPRINT1(
"PCI - PciQueryInterface: guid = %wZ only for ROOT\n",
98 continue;
99 }
100 }
101 else
102 {
103
105 {
106
107 DPRINT1(
"PCI - PciQueryInterface: guid = %wZ only for PDOs\n",
110 continue;
111 }
112 }
113
114
117
118
121 (Version <= PciInterface->MaxVersion) &&
123 {
124
126 PciInterface,
127 InterfaceData,
132 {
133
134 DPRINT1(
"PCI - PciQueryInterface - Constructor %p = %08lx\n",
136 continue;
137 }
138
139
141 DPRINT1(
"PCI - PciQueryInterface returning SUCCESS\n");
143 }
144 }
145
146
147 DPRINT1(
"PCI - PciQueryInterface FAILED TO FIND INTERFACE\n");
149}
#define STATUS_NOT_SUPPORTED
#define NT_SUCCESS(StatCode)
#define PCI_INTERFACE_PDO
#define PCI_INTERFACE_FDO
#define PCI_INTERFACE_ROOT
#define PCI_IS_ROOT_FDO(x)
NTSYSAPI NTSTATUS WINAPI RtlStringFromGUID(REFGUID, PUNICODE_STRING)
PPCI_INTERFACE PciInterfaces[]
PPCI_INTERFACE PciInterfacesLastResort[]
NTSYSAPI VOID NTAPI RtlFreeUnicodeString(PUNICODE_STRING UnicodeString)
PCI_INTERFACE_CONSTRUCTOR Constructor
CONST GUID * InterfaceType
_In_ PUSBD_INTERFACE_LIST_ENTRY InterfaceList
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID InterfaceType
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version
#define IsEqualGUIDAligned(guid1, guid2)