From 28c11cc0153286544abdb66eac22c760b73a4155 Mon Sep 17 00:00:00 2001 From: Peihsun Yeh Date: Mon, 27 Aug 2018 11:13:03 -0700 Subject: clarifying comments, removing some also --- general/SimpleMediaSource/SimpleMediaSourceDriver/Device.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'general/SimpleMediaSource/SimpleMediaSourceDriver') 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, -- cgit v1.3.1