summaryrefslogtreecommitdiff
path: root/serial/VirtualSerial2/driver.h
blob: 787cef0217461901f1601e08064afb6485a8b744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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;