File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -123,16 +123,6 @@ Routine Description:
123
123
124
124
KdPrint ((" TailLight: PdoName: %wZ\n " , deviceContext->PdoName )); // outputs "\Device\00000083"
125
125
}
126
- {
127
- // initialize DEVICE_CONTEXT struct with HardwareId
128
- deviceContext->HardwareId = GetTargetPropertyString (WdfDeviceGetIoTarget (device), DevicePropertyHardwareID);
129
- if (!deviceContext->HardwareId .Buffer ) {
130
- KdPrint ((" TailLight: HardwareId query failed\n " ));
131
- return STATUS_UNSUCCESSFUL;
132
- }
133
-
134
- KdPrint ((" TailLight: HardwareId: %wZ\n " , deviceContext->HardwareId ));
135
- }
136
126
137
127
{
138
128
// create queue for filtering
Original file line number Diff line number Diff line change 4
4
struct DEVICE_CONTEXT {
5
5
UNICODE_STRING PdoName ;
6
6
WDFWMIINSTANCE WmiInstance ;
7
- UNICODE_STRING HardwareId ;
8
7
};
9
8
WDF_DECLARE_CONTEXT_TYPE (DEVICE_CONTEXT )
10
9
You can’t perform that action at this time.
0 commit comments