Annotation of q_a/samples/ddk/instdrv/simpldrv.h, revision 1.1.1.1

1.1       root        1: /*++
                      2: 
                      3: Copyright (c) 1993  Microsoft Corporation
                      4: 
                      5: Module Name:
                      6: 
                      7:     simpldrv.h
                      8: 
                      9: Abstract:
                     10: 
                     11:     This module contains the PRIVATE (driver-only) definitions for the
                     12:     code that implements the mono device driver.
                     13: 
                     14: Environment:
                     15: 
                     16:     Kernel & user mode
                     17: 
                     18: Revision History:
                     19: 
                     20:     06-25-93 : created
                     21: 
                     22: --*/
                     23: 
                     24: 
                     25: 
                     26: //
                     27: // A structure representing the instance information associated with
                     28: // a particular device
                     29: //
                     30: 
                     31: typedef struct _DEVICE_EXTENSION
                     32: {
                     33:     ULONG  StateVariable;
                     34: 
                     35: } DEVICE_EXTENSION, *PDEVICE_EXTENSION;
                     36: 
                     37: 
                     38: 
                     39: //
                     40: // Define the various device type values.  Note that values used by Microsoft
                     41: // Corporation are in the range 0-32767, and 32768-65535 are reserved for use
                     42: // by customers.
                     43: //
                     44: 
                     45: #define FILE_DEVICE_SIMPLDRV  0x00008300
                     46: 
                     47: 
                     48: 
                     49: //
                     50: // Macro definition for defining IOCTL and FSCTL function control codes.  Note
                     51: // that function codes 0-2047 are reserved for Microsoft Corporation, and
                     52: // 2048-4095 are reserved for customers.
                     53: //
                     54: 
                     55: #define SIMPLDRV_IOCTL_INDEX  0x830
                     56: 
                     57: 
                     58: 
                     59: //
                     60: // The MONO device driver IOCTLs
                     61: //
                     62: 
                     63: #define IOCTL_SIMPLDRV_HELLO          CTL_CODE(FILE_DEVICE_SIMPLDRV,  \
                     64:                                                SIMPLDRV_IOCTL_INDEX,  \
                     65:                                                METHOD_BUFFERED,       \
                     66:                                                FILE_ANY_ACCESS)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.