曙海教育集团论坛Win CE 专区Wince技术讨论区 → 这是winceusb文件的全文;...


  共有5719人关注过本帖树形打印

主题:这是winceusb文件的全文;...

美女呀,离线,留言给我吧!
wangxinxin
  1楼 个性首页 | 博客 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:青蜂侠 帖子:1393 积分:14038 威望:0 精华:0 注册:2010-11-12 11:08:23
这是winceusb文件的全文;...  发帖心情 Post By:2010-11-16 10:44:08

Windows CE USB Host Setup File

; Copyright (c) 1999 Microsoft Corporation

;

; WCEUSBSH.INF -- This is the inf installation script for the stand-alone

;             release of serial-over-USB host driver for WCE USB Function devices.

;



[Version]

Signature="$CHICAGO$"

Class=WCEUSBS

ClassGuid={25dbce51-6c8f-4a72-8a6d-b54c2b4fc835}

Provider=%MICROSOFT%



[ControlFlags]

ExcludeFromSelect = *



[DestinationDirs]

DefaultDestDir = 12

NTCopyFiles = 12

Win9xWDMFiles = 10,system32\drivers ; %windir%\SYSTEM32\DRIVERS



[NTCopyFiles]

wceusbsh.sys



[Win9xWDMFiles]

wceusbsh.sys





;

; Class Install section

;

[ClassInstall]

Addreg=Interface_ClassReg



[ClassInstall32]

Addreg=Interface_ClassReg



[Interface_ClassReg]

HKR,,,,%Interface.ClassName%

;HKR,,NoInstallClass,,1

HKR,,SilentInstall,,1

HKR,,Icon,,-20



[Interface_ClassReg32]

HKR,,,,%Interface.ClassName%

;HKR,,NoInstallClass,,1

HKR,,SilentInstall,,1

HKR,,Icon,,-20





;

;

; <VENDOR SECTION>

; Add your manufacturer name here (and a string definition under [strings] below)

;

; e.g.

; %ACME%=ACME

;

[Manufacturer]

%Anchor% = Anchor

%Socket% = Socket



;

; <VENDOR SECTION>

; Add your manufacturer section and device entry here.

; Use the hardware PnP ID of your device.

;

; e.g.

; [ACME]

; %USB\VID_xxxx&PID_yyyy.DeviceDesc% = Host_Inst, USB\VID_xxxx&PID_yyyy

;

[Anchor]

%USB\Vid_0000&Pid_0000.5&2AD6AF9D&0&3% = Host_Inst, USB\Vid_0000&Pid_0000



[Socket]

%USB\Vid_0000&Pid_0000.5&2AD6AF9D&0&3% = Host_Inst, USB\Vid_0000&Pid_0000





;

; Win 9x DDInstall section

;

[Host_Inst]

Copyfiles = Win9xWDMFiles

AddReg = Host_Win9x_AddReg



[Host_Win9x_AddReg]

;HKR,Parameters,DebugLevel,0x3,0xffffffff

HKR,,DevLoader,0,*NTKERN

HKR,,NTMPDriver,,"wceusbsh.sys"





;

; Win NT DDInstall section

;

[Host_Inst.NT]

CopyFiles=NTCopyFiles

AddReg = Host_Inst_NT_AddReg



[Host_Inst_NT_AddReg]

HKR,,FakeHostParms,%REG_DWORD%,0x123



[Host_Inst.NT.Services]

AddService = wceusbsh,0x00000002,Host_Service_Inst, Host_EventLog_Inst



[Host_Service_Inst]

DisplayName   = %Host_Inst.SVCDESC%

ServiceType   = 1 ; SERVICE_KERNEL_DRIVER

StartType   = 1 ; SERVICE_SYSTEM_START

ErrorControl = 0 ; SERVICE_ERROR_IGNORE

ServiceBinary = %12%\wceusbsh.sys

LoadOrderGroup = Extended base

AddReg = Host_User_Parms



[Host_User_Parms]

;

; BUGBUG - remove the following entries before ship

;

HKR,Parameters,DebugLevel,0x00010001,0x3



[Host_EventLog_Inst]

AddReg = Host_EventLog_AddReg



[Host_EventLog_AddReg]

HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\wceusbsh.sys"

HKR,,TypesSupported,0x00010001,7







[Strings]

;----------------------

REG_DWORD = 0x00010001

MICROSOFT = "Microsoft"



Host_Inst.SVCDESC   = "Windows CE USB Serial Host Driver"

Interface.ClassName = "Windows CE USB Devices"





;

; <VENDOR SECTION>

; Define your strings here

;

; e.g.

; ACME = "ACME"

; USB\VID_xxxx&PID_yyyy.DeviceDesc = "ACME USB Device"

;

Anchor = "Anchor"

USB\Vid_0000&Pid_0000.5&2AD6AF9D&0&3 = "Anchor USB EZ-Link Cable"



Socket = "Socket Communications"

USB\Vid_0000&Pid_0000.5&2AD6AF9D&0&3 = "Socket USB Sync Card"

支持(0中立(0反对(0单帖管理 | 引用 | 回复 回到顶部

返回版面帖子列表

这是winceusb文件的全文;...








签名