Sample Code

Windows Driver Samples/ GPIO Sample Drivers/ C++/ simdevice/ simdevice.inx/

;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;Module Name:
;
;    SIMGPIO.INF
;
;Abstract:
;    INF file for installing Simulated Peripheral Device Driver.
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%MSFT%
DriverVer=05/07/2010
CatalogFile=gpiosamples.cat

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
Simdevice.sys = 3426

;12 == Windows\System32\Drivers
[DestinationDirs]
DefaultDestDir = 12

[ControlFlags]
ExcludeFromSelect=*

;*****************************************
; SimDevice Install Section
;*****************************************

[Manufacturer]
%MSFT%=Microsoft,NT$ARCH$

[Microsoft.NT$ARCH$]
%DeviceDesc%=DriverInstall,ACPI\TEST0003

[DriverInstall.NT]
CopyFiles=DriverInstall_Copy

[DriverInstall.NT.Services]
AddService = simdevice,2,DriverInstall_Service

[DriverInstall_Copy]
simdevice.sys,,,0x100

[DriverInstall_Service]
DisplayName    = %SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl    = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\Simdevice.sys
;LoadOrderGroup = Extended Base

[Strings]
;Localizable Strings
MSFT       = "Microsoft"
Std        = "(Standard system devices) Test device"
SvcDesc    = "Test device service"
DeviceDesc = "Test device description"

;Non-Localizable Strings
SERVICE_KERNEL_DRIVER = 1
SERVICE_DEMAND_START  = 3
SERVICE_ERROR_NORMAL  = 1





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