Sample Code

Windows Driver Samples/ Bluetooth Echo L2CAP Profile Driver/ C++/ bthcli/ sys/ BthEchoSampleCli.inx/

;/*++
;
;Copyright (c) 1990-2000  Microsoft Corporation
;
;   THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
;   KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
;   IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
;   PURPOSE.
;
;Module Name:
;    BthEchoSampleCli.inx
;
;Abstract:
;    INF file for installing the Bluetooth Echo Sample Client
;
;    devcon.exe BthEchoSampleCli.inf BTHENUM\{c07508f2-b970-43ca-b5dd-cc4f2391bef4}
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=Sample
ClassGuid={e0cbf06c-cd8b-4647-bb8a-263b43f0f974}
Provider=%MSFT%
DriverVer=06/21/2006,6.0.5841.
CatalogFile=KmdfSamples.cat

[DestinationDirs]
DefaultDestDir = 12

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
BthEchoSampleCli.sys  = 1,,

;*****************************************
; BthEchoSampleCli  Install Section
;*****************************************

[Manufacturer]
%MSFT%=Microsoft,NTamd64...1
%MSFT%=Microsoft,NTx86...1

[Microsoft.NTamd64...1]
%BthEchoSampleCli.DeviceDesc% = BthEchoSampleCli_Inst,BTHENUM\{c07508f2-b970-43ca-b5dd-cc4f2391bef4}

[Microsoft.NTx86...1]
%BthEchoSampleCli.DeviceDesc% = BthEchoSampleCli_Inst,BTHENUM\{c07508f2-b970-43ca-b5dd-cc4f2391bef4}
[BthEchoSampleCli_Inst.NT]
CopyFiles=Drivers_Dir

[Drivers_Dir]
BthEchoSampleCli.sys


;-------------- Service installation
[BthEchoSampleCli_Inst.NT.Services]
AddService = BthEchoSampleCli,%SPSVCINST_ASSOCSERVICE%, BthEchoSampleCli_Service_Inst

; -------------- BthEchoSampleCli driver install sections
[BthEchoSampleCli_Service_Inst]
DisplayName    = %BthEchoSampleCli.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\BthEchoSampleCli.sys
LoadOrderGroup = Extended Base

;
;--- BthEchoSampleCli_Inst Coinstaller installation ------
;

[DestinationDirs]
BthEchoSampleCli_Inst_CoInstaller_CopyFiles = 11

[BthEchoSampleCli_Inst.NT.CoInstallers]
AddReg=BthEchoSampleCli_Inst_CoInstaller_AddReg
CopyFiles=BthEchoSampleCli_Inst_CoInstaller_CopyFiles

[BthEchoSampleCli_Inst_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"

[BthEchoSampleCli_Inst_CoInstaller_CopyFiles]
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll

[SourceDisksFiles]
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll=1 ; make sure the number matches with SourceDisksNames

[BthEchoSampleCli_Inst.NT.Wdf]
KmdfService =  BthEchoSampleCli, BthEchoSampleCli_Inst_wdfsect
[BthEchoSampleCli_Inst_wdfsect]
KmdfLibraryVersion = $KMDFVERSION$


[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "(Standard system devices)"
DiskId1 = "BthEchoSampleCli installation disk"
BthEchoSampleCli.DeviceDesc = "Bluetooth Echo Sample Client"
BthEchoSampleCli.SVCDESC = "BthEchoSampleCli"

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