Sample Code
Windows Driver Samples/ Scanner File System Minifilter Driver/ C++/ inc/ scanuk.h/
/*++ Copyright (c) 1999-2002 Microsoft Corporation Module Name: scanuk.h Abstract: Header file which contains the structures, type definitions, constants, global variables and function prototypes that are shared between kernel and user mode. Environment: Kernel & user mode --*/ #ifndef __SCANUK_H__ #define __SCANUK_H__ // // Name of port used to communicate // const PWSTR ScannerPortName = L"\\ScannerPort"; #define SCANNER_READ_BUFFER_SIZE 1024 typedef struct _SCANNER_NOTIFICATION { ULONG BytesToScan; ULONG Reserved; // for quad-word alignement of the Contents structure UCHAR Contents[SCANNER_READ_BUFFER_SIZE]; } SCANNER_NOTIFICATION, *PSCANNER_NOTIFICATION; typedef struct _SCANNER_REPLY { BOOLEAN SafeToOpen; } SCANNER_REPLY, *PSCANNER_REPLY; #endif // __SCANUK_H__
Our Services
-
What our customers say about us?
Read our customer testimonials to find out why our clients keep returning for their projects.
View Testimonials