summaryrefslogtreecommitdiff
path: root/usb/ufxclientsample/driver.h
blob: bed33089c1490daf9b3e77646b41566898348ff3 (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
31
32
33
/*++

Module Name:

    driver.h

Abstract:

    This file contains the driver definitions.

Environment:

    Kernel-mode Driver Framework

--*/

#pragma once

#include <ntddk.h>
#include <wdf.h>
#include "ufxclient.h"
#include "registers.h"
#include "trace.h"

#define UFX_CLIENT_TAG ('cXFU')


//---------------------------------------------------------------------------
// While macro to supress 4127 warning: Constant expression
//---------------------------------------------------------------------------
#define WHILE(constant) \
    __pragma(warning(suppress:4127)) while(constant)