Health Vault WPD filter driver over HID stack

Hi, i am developing a Health Vault WPD PnP filter driver over HID stack. i have taken the WPD sample from HV DDK and modified the INF file to make it as a filter driver. i am facing the below issues.

  1. In INF, if the HW ID is mentioned as %devicename%=device_install,USB\VID_1234&PID_5678

the driver was preinstalled successfully. while connecting the device, a device node is created without any error, the INF configurations are applied to the device node. Ex: the device name, Upper filter service name and etc…But the UMDF host process is not running and none of the interfaces (like onPrepareHardware(), DriverEntry()…etc) in the filter driver are called.

  1. In INF, if the HW ID is mentioned as "%devicename%=device_install, ,HID\VID_1234&PID_5678

the driver was preinstalled successfully. while connecting the device, a device node is created with code 10 error, the INF configurations are applied to the device node. Ex: the device name, Upper filter service name and etc…UMDF host process is not running and none of the interfaces (like onPrepareHardware(), DriverEntry()…etc) in the filter driver are called.

The driver was test signed successfully. The INF file is as below…

[Version]
Signature=“$Windows NT$”
Class=HIDClass
ClassGuid=={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%Provider%
CatalogFile=FabrikamGlucoseWpdDriver.cat
DriverVer=05/14/2010,1.5.0.0

[SourceDisksNames]
1 = %MediaDescription%

[SourceDisksFiles]
FabrikamGlucoseWpdDriver.dll=1
FabrikamGlucoseHealthCenterDevice.xml=1
FabrikamGlucoseLogo.png=1
FabrikamGlucoseWatermark.png=1

[DestinationDirs]
UmdfDriverCopyFiles=12,UMDF\Fabrikam ; copy to system32\drivers\umdf
DefaultDestDir = 12

[ControlFlags]
; We don’t want our device to be installable via the non-PnP hardware dialogs
ExcludeFromSelect = *

; ---------------------------------------------------------
[Manufacturer]
%MSFTFabrikam%=Fabrikam,NTx86

[Fabrikam.NTx86]
%USB\VID_1234&PID_5678&REV_0001.DeviceDesc%=Fabrikam_HID_Inst,HID\VID_1234&PID_5678

; ---------------------------------------------------------
[Fabrikam_HID_Inst.NT]
Include = INPUT.INF
Needs = HID_Inst.NT
Copyfiles = UmdfDriverCopyFiles

[UmdfDriverCopyFiles]
FabrikamGlucoseWpdDriver.dll
%ConnectionCenterDeviceFile%
%LogoFile%
%WatermarkFile%
;WUDFRd.sys

;--------------------
[Fabrikam_HID_Inst.NT.HW]
Include = INPUT.INF
Needs = HID_Inst.NT
AddReg = UMDFUpperFilter_AddReg ,HVCC_AddReg

[UMDFUpperFilter_AddReg]
HKR,“UpperFilters”,0x00010008,“WUDFRd” ; FLG_ADDREG_TYPE_MULTI_SZ | FLG_ADDREG_APPEND

[HVCC_AddReg]
; Enable device in Microsoft Connection Center
HKR,“ShowInConnectionCenter”,0x10001,1

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

[Fabrikam_HID_Inst.NT.Services]
Needs = HID_Inst.NT.Services
AddService=WUDFRd,0x000001f8,WUDFRD_ServiceInstall

[WUDFRD_ServiceInstall]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\WUDFRd.sys

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

[Fabrikam_HID_Inst.NT.CoInstallers]
AddReg=UmdfCoInstaller_AddReg
CopyFiles=UmdfCoInstaller_CopyFiles

[UmdfCoInstaller_CopyFiles]
;WUDFCoInstaller01009.dll
;WUDFUpdate_01009.dll

[UmdfCoInstaller_AddReg]
HKR,CoInstallers32,0x00010000,“WUDFCoInstaller.dll”, “wpd_ci.dll,CoDeviceInstall”

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

[Fabrikam_HID_Inst.NT.Wdf]
UmdfService=“WUDFFabrikamFilter”, WudfFabrikamFilter_Install
UmdfServiceOrder=WUDFFabrikamFilter

[WudfFabrikamFilter_Install]
UmdfLibraryVersion=1.0.0
DriverCLSID=“{8971E98F-EB36-4a29-9390-7C0FC3EFEE33}”
ServiceBinary=%12%\UMDF\Fabrikam\FabrikamGlucoseWpdDriver.dll

; ======== Generic ===================

[Strings]
MSFTFabrikam=“Fabrikam Devices for Microsoft Windows”
Provider=“Fabrikam”
MediaDescription=“Fabrikam Devices Installation Media”
USB\VID_1234&PID_5678&REV_0001.DeviceDesc=“WPD filter driver”
ConnectionCenterDeviceFile=“FabrikamGlucoseHealthCenterDevice.xml”
LogoFile=“FabrikamGlucoseLogo.png”
WatermarkFile=“FabrikamGlucoseWatermark.png”

I would appreciate any suggestions…Thanks.

Regards,
Syed.