Sample Code

windows driver samples/ Windows Filtering Platform Traffic Inspection Sample/ C++/ sys/ inspect.inf/

;;;
;;; Copyright (c) Microsoft Corporation. All rights reserved
;;;
;;; Abstract:
;;; Callout sample driver install configuration.
;;;

[Version]
signature   =   "$Windows NT$"
Provider 	=   %Msft%
DriverVer   =   01/07/2004,VER_P5000.1
Class =ActivityMonitor
CatalogFile = inspect.cat


[DestinationDirs]
DefaultDestDir	        = 12
Inspect.DriverFiles      = 12 			;%windir%\system32\drivers

;;
;; Default install sections
;;

[DefaultInstall]
OptionDesc          = %InspectServiceDesc%
CopyFiles           = Inspect.DriverFiles

[DefaultInstall.Services]
AddService          = %InspectServiceName%,,Inspect.Service

;;
;; Default uninstall sections
;;

[DefaultUninstall]
DelFiles   = Inspect.DriverFiles

[DefaultUninstall.Services]
DelService = Inspect,0x200		; Flags note to stop service first

;
; Services Section
;

[Inspect.Service]
DisplayName      = %InspectServiceName%
Description      = %InspectServiceDesc%
ServiceBinary    = %12%\inspect.sys  	;%windir%\system32\drivers\inspect.sys
ServiceType      = 1					;SERVICE_KERNEL_DRIVER
StartType        = 3					;SERVICE_DEMAND_START
ErrorControl     = 1					;SERVICE_ERROR_NORMAL

;
; Copy Files
;

[Inspect.DriverFiles]
inspect.sys,,,0x00000040   ; COPYFLG_OVERWRITE_OLDER_ONLY

[SourceDisksNames]
1 = %DiskId1%,,,""
[SourceDisksFiles]
inspect.sys = 1,,


;;
;; String Section
;;

[Strings]
Msft              = "Microsoft Corporation"
InspectServiceDesc  = "Transport Inspect Callout Driver"
InspectServiceName  = "inspect"
InspectRegistry     = "system\currentcontrolset\services\inspect"

Our Services

  • What our customers say about us?

© 2011-2025 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