Sample Code

Windows Driver Samples/ KMDF filter driver for a HID device/ C++/ driver/ firefly.h/

/*++

Copyright (c) Microsoft Corporation.  All rights reserved.

    THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
    KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
    IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
    PURPOSE.


Module Name:

    FireFly.h

Abstract:

    This is the header for the Windows Driver Framework version
    of the firefly filter driver.

Environment:

    Kernel mode

--*/

#include <ntddk.h>
#include <wdf.h>
#define NTSTRSAFE_LIB
#include <ntstrsafe.h>
#include <initguid.h>
#include <wdmguid.h>

//
// Our drivers generated include from firefly.mof
// See makefile.inc for wmi commands
//
#include "fireflymof.h"

// Our drivers modules includes
#include "device.h"
#include "wmi.h"
#include "vfeature.h"
#include "magic.h"

//
// WDFDRIVER Object Events
//

DRIVER_INITIALIZE DriverEntry;

EVT_WDF_DRIVER_DEVICE_ADD FireFlyEvtDeviceAdd;

Our Services

  • What our customers say about us?

© 2011-2024 All Rights Reserved. Joya Systems. 4425 South Mopac Building II Suite 101 Austin, TX 78735 Tel: 800-DEV-KERNEL

Privacy Policy. Terms of use. Valid XHTML & CSS