Sample Code
Windows Driver Samples/ GPIO Sample Drivers/ C++/ simgpio_i2c/ simgpio_i2c.inx/
;/*++ ; ;Copyright (c) Microsoft Corporation. All rights reserved. ; ;Module Name: ; ; SIMGPIO_I2C.INF ; ;Abstract: ; INF file for installing Simulated I2C-GPIO Client Driver. ; ;--*/ [Version] Signature="$WINDOWS NT$" Class=System ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318} Provider=%MSFT% DriverVer=10/28/2010,1.00.0000 CatalogFile=gpiosamples.cat [SourceDisksNames] 3426=windows cd [SourceDisksFiles] simgpio_i2c.sys = 3426 [DestinationDirs] DefaultDestDir = 12 [ControlFlags] BasicDriverOk = * ExcludeFromSelect = * ;****************************************** ; SIMGPIO_I2C Client driver Install Section ;****************************************** [Manufacturer] %MSFT%=Microsoft,NT$ARCH$ [Microsoft.NT$ARCH$] %GPIO.DeviceDesc% = GPIO_Inst,ACPI\TEST0002 [GPIO_Inst.NT] Copyfiles = GPIOCopyFiles [GPIOCopyFiles] simgpio_i2c.sys,,,0x100 [GPIO_Inst.NT.Services] AddService = simgpio_i2c,%SPSVCINST_ASSOCSERVICE%,GPIO_Service_Inst [GPIO_Service_Inst] DisplayName = %GPIO.SvcDesc% ServiceType = %SERVICE_KERNEL_DRIVER% StartType = %SERVICE_DEMAND_START% ErrorControl = %SERVICE_ERROR_NORMAL% ServiceBinary = %12%\simgpio_i2c.sys LoadOrderGroup = Extended Base [strings] ; localizable strings MSFT = "Microsoft" GPIO.DeviceDesc = "Microsoft Simulated I2C-GPIO Client Driver" GPIO.SvcDesc = "Microsoft Simulated I2C-GPIO Client Driver" ; non-localizable strings SPSVCINST_TAGTOFRONT = 0x00000003 SPSVCINST_ASSOCSERVICE = 0x00000002 SERVICE_KERNEL_DRIVER = 1 SERVICE_BOOT_START = 0 SERVICE_SYSTEM_START = 1 SERVICE_DEMAND_START = 3 SERVICE_ERROR_NORMAL = 1 SERVICE_ERROR_IGNORE = 0 SERVICE_ERROR_CRITICAL = 3 REG_EXPAND_SZ = 0x00020000 REG_DWORD = 0x00010001 REG_SZ = 0x00000000
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