diff options
| -rw-r--r-- | general/SimpleMediaSource/SimpleMediaSourceDriver/Device.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/general/SimpleMediaSource/SimpleMediaSourceDriver/Device.c b/general/SimpleMediaSource/SimpleMediaSourceDriver/Device.c index 133d55eb..083cf3c7 100644 --- a/general/SimpleMediaSource/SimpleMediaSourceDriver/Device.c +++ b/general/SimpleMediaSource/SimpleMediaSourceDriver/Device.c @@ -48,7 +48,7 @@ Return Value: WDFDEVICE device; NTSTATUS status; UNICODE_STRING szReference; - RtlInitUnicodeString(&szReference, L"CustomCameraSource"); + RtlInitUnicodeString(&szReference, L"CustomCameraSource"); // Needs to match the ReferenceString in INF WDF_OBJECT_ATTRIBUTES_INIT_CONTEXT_TYPE(&deviceAttributes, DEVICE_CONTEXT); @@ -82,10 +82,6 @@ Return Value: ); if (NT_SUCCESS(status)) { - // - // Create a device interface so that application can find and talk - // to us. - // status = WdfDeviceCreateDeviceInterface( device, &CAPTURE_CATEGORY, @@ -94,10 +90,6 @@ Return Value: } if (NT_SUCCESS(status)) { - // - // Create a device interface so that application can find and talk - // to us. - // status = WdfDeviceCreateDeviceInterface( device, &VIDEO_CATEGORY, |
