Go to the source code of this file.
◆ HDA_PDOHandleQueryDeviceText()
Definition at line 154 of file pdo.cpp.
156{
159 static WCHAR DeviceText[] =
L"Audio Device on High Definition Audio Bus";
160
163 {
164 DPRINT(
"HDA_PdoHandleQueryDeviceText DeviceTextDescription\n");
165
168 {
169 Irp->IoStatus.Information = 0;
171 }
172
174
177 }
178 else
179 {
180 DPRINT(
"HDA_PdoHandleQueryDeviceText DeviceTextLocationInformation\n");
181
184 {
185 Irp->IoStatus.Information = 0;
187 }
188
190
191
194 }
195
196}
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
PVOID AllocateItem(IN POOL_TYPE PoolType, IN SIZE_T NumberOfBytes)
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
struct _IO_STACK_LOCATION::@3983::@4015 QueryDeviceText
union _IO_STACK_LOCATION::@1584 Parameters
#define STATUS_INSUFFICIENT_RESOURCES
Referenced by HDA_PdoPnp().
◆ HDA_PDOQueryBusDeviceCapabilities()
Definition at line 199 of file pdo.cpp.
201{
204
205
207
208
210
212
213
221
222
224}
_Must_inspect_result_ typedef _Out_ PHIDP_CAPS Capabilities
struct _IO_STACK_LOCATION::@3983::@4010 DeviceCapabilities
#define RtlZeroMemory(Destination, Length)
Referenced by HDA_PdoPnp().
◆ HDA_PDOQueryBusDevicePnpState()
Definition at line 227 of file pdo.cpp.
229{
230
232
233
235}
#define PNP_DEVICE_NOT_DISABLEABLE
#define PNP_DEVICE_DONT_DISPLAY_IN_UI
Referenced by HDA_PdoPnp().
◆ HDA_PDOQueryBusInformation()
Definition at line 33 of file pdo.cpp.
35{
37
38
40
42 {
43
45 }
46
47
51
52
54
55
57}
#define RtlMoveMemory(Destination, Source, Length)
_In_ WDFDEVICE _In_ PPNP_BUS_INFORMATION BusInformation
struct _PNP_BUS_INFORMATION * PPNP_BUS_INFORMATION
Referenced by HDA_PdoPnp().
◆ HDA_PDOQueryId()
Definition at line 62 of file pdo.cpp.
65{
72
73
76
77
79
81 {
89
90
94
99
101
104 }
107 {
108
109
112
113
117
119
121
124 }
126 {
132
133
137
139
141
144 }
145 else
146 {
148 return Irp->IoStatus.Status;
149 }
151}
#define STATUS_NOT_IMPLEMENTED
#define NT_SUCCESS(StatCode)
struct HDA_PDO_DEVICE_EXTENSION * PHDA_PDO_DEVICE_EXTENSION
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
_In_ ULONG _In_ ULONG _In_ ULONG Length
NTSTRSAFEAPI RtlStringCbCopyW(_Out_writes_bytes_(cbDest) _Always_(_Post_z_) NTSTRSAFE_PWSTR pszDest, _In_ size_t cbDest, _In_ NTSTRSAFE_PCWSTR pszSrc)
NTSTRSAFEVAPI RtlStringCbPrintfW(_Out_writes_bytes_(cbDest) _Always_(_Post_z_) NTSTRSAFE_PWSTR pszDest, _In_ size_t cbDest, _In_ _Printf_format_string_ NTSTRSAFE_PCWSTR pszFormat,...)
PHDA_CODEC_AUDIO_GROUP AudioGroup
struct _IO_STACK_LOCATION::@3983::@4014 QueryId
#define RtlCopyMemory(Destination, Source, Length)
_Must_inspect_result_ _In_ WDFDEVICE Device
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_opt_ PCUNICODE_STRING DeviceName
Referenced by HDA_PdoPnp().
◆ HDA_PDORemoveDevice()