summaryrefslogtreecommitdiff
path: root/serial/VirtualSerial2/driver.h
diff options
context:
space:
mode:
authorDave Wilson <[email protected]>2015-04-29 09:48:49 -0700
committerDave Wilson <[email protected]>2015-04-29 10:47:29 -0700
commitd40232638faaab19de557e70a3ee938da7a35295 (patch)
tree14e61c973745949af186b7940e3a53d25322f5de /serial/VirtualSerial2/driver.h
parent02e5b090a6131a7cc1b90f4a9373117c9e3c7088 (diff)
samples update for //build
Diffstat (limited to 'serial/VirtualSerial2/driver.h')
-rw-r--r--serial/VirtualSerial2/driver.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/serial/VirtualSerial2/driver.h b/serial/VirtualSerial2/driver.h
new file mode 100644
index 00000000..787cef02
--- /dev/null
+++ b/serial/VirtualSerial2/driver.h
@@ -0,0 +1,30 @@
+/*++
+
+Copyright (C) Microsoft Corporation, All Rights Reserved
+
+Module Name:
+
+ Driver.h
+
+Abstract:
+
+ This module contains the type definitions for the VirtualSerial sample's
+ driver callback class.
+
+Environment:
+
+ Windows Driver Framework
+
+--*/
+
+#pragma once
+
+//
+// This class handles driver events for the VirtualSerial sample. In particular
+// it supports the OnDeviceAdd event, which occurs when the driver is called
+// to setup per-device handlers for a new device stack.
+//
+
+DRIVER_INITIALIZE DriverEntry;
+
+EVT_WDF_DRIVER_DEVICE_ADD EvtDeviceAdd;