none
WLK 1.4 WIA Tester issue RRS feed

  • 問題

  • 請教各位先進,我是撰寫 MicroDriver for Windows Image Acquisition(WIA),然而,在測試項目 WIA Tester這一項,在Windows 7 的環境下測試,是沒有問題的,但卻在Vista x86 系統底下,發生錯誤,我有嘗試使用較舊版本來測試,也是沒問題的,請問是否也有人遇到類似的問題,可以告知是如何解決的嗎? 謝謝!! 我把log file的內容貼在下面提供各位參考:

     
    Start Test 6/22/98 7:09:09.799 下午 Assertion_A134614 WDKTUID:{BEBB57A9-CD1B-4039-9612-48BDC20D6FAE}
    Message 6/22/98 7:09:09.799 下午 [Test Name]: 'Assertion_A134614 WDKTUID:{BEBB57A9-CD1B-4039-9612-48BDC20D6FAE}'
    Message 6/22/98 7:09:09.799 下午 Executing PrintDescriptionFromXML...
    Message 6/22/98 7:09:09.799 下午 [ASSERTION 13.4.6.14 WIA_IPS_THRESHOLD]:
    Message 6/22/98 7:09:09.799 下午 WIA_IPS_THRESHOLD scanner item property shall exist for all image-type items on a scanner device. The property shall have the WIA_PROP_RANGE type, the VT_I4 subtype and the WIA_PROP_RW access.
    Message 6/22/98 7:09:09.799 下午 Ended PrintDescriptionFromXML.
    Message 6/22/98 7:09:09.799 下午 Executing StartWia...
    Message 6/22/98 7:09:09.799 下午 CWIAEngine::StartWIA()
    Message 6/22/98 7:09:09.799 下午 Ended StartWia.
    Message 6/22/98 7:09:09.799 下午 Executing GetRoot...
    Message 6/22/98 7:09:09.799 下午 CWIAEngine::GetRoot(pItem = 0x0048A08C)
    Message 6/22/98 7:09:09.799 下午 Ended GetRoot.
    Message 6/22/98 7:09:09.799 下午 Executing GetDeviceType...
    Message 6/22/98 7:09:09.799 下午 CWIAEngine::GetDeviceType(lDeviceType = 0)
    Message 6/22/98 7:09:09.799 下午 GetDeviceType() returned:
    Message 6/22/98 7:09:09.799 下午 StiDeviceTypeScanner
    Message 6/22/98 7:09:09.799 下午 Ended GetDeviceType.
    Message 6/22/98 7:09:09.799 下午 Executing GetNextItem...
    Message 6/22/98 7:09:09.799 下午 CWIAEngine::GetNextItem(pItem = 0x0048A08C)
    Message 6/22/98 7:09:09.799 下午 Ended GetNextItem.
    Message 6/22/98 7:09:09.799 下午 Executing CheckItemType...
    Message 6/22/98 7:09:09.799 下午 CheckItemType() returned: TRUE
    Message 6/22/98 7:09:09.799 下午 Ended CheckItemType.
    Message 6/22/98 7:09:09.799 下午 Executing SetPropertyLong...
    Message 6/22/98 7:09:09.799 下午 CWIAEngine::SetPropertyLong(pItem = 0x0048A08C, propid = WIA_IPA_DATATYPE, lValue = 0)
    Message 6/22/98 7:09:09.799 下午 SetPropertyLong() returned: TRUE
    Message 6/22/98 7:09:09.799 下午 Ended SetPropertyLong.
    Message 6/22/98 7:09:09.799 下午 Executing SetPropertyLong...
    Message 6/22/98 7:09:09.799 下午 CWIAEngine::SetPropertyLong(pItem = 0x0048A08C, propid = WIA_IPA_DEPTH, lValue = 1)
    Message 6/22/98 7:09:09.799 下午 SetPropertyLong() returned: TRUE
    Message 6/22/98 7:09:09.799 下午 Ended SetPropertyLong.
    Message 6/22/98 7:09:09.799 下午 Executing GetProperty...
    Message 6/22/98 7:09:09.799 下午 CWIAEngine::GetProperty(pItem = 0x0048A08C, pProperty = 0x00485B3C, propid = WIA_IPS_THRESHOLD)
    Message 6/22/98 7:09:09.799 下午 GetProperty() returned the following property:
    Message 6/22/98 7:09:09.799 下午 Property ID: WIA_IPS_THRESHOLD
    Message 6/22/98 7:09:09.799 下午 Access flags: WIA_PROP_READ | WIA_PROP_RW | WIA_PROP_WRITE | WIA_PROP_RANGE
    Message 6/22/98 7:09:09.799 下午 Vartype: VT_I4
    Message 6/22/98 7:09:09.799 下午 Current value:
    Message 6/22/98 7:09:09.799 下午 0
    Message 6/22/98 7:09:09.799 下午  
    Message 6/22/98 7:09:09.799 下午 Legal values:
    Message 6/22/98 7:09:09.799 下午 <RANGE> Min = 0, Default = 0, Max = 255, Inc = 128
    Message 6/22/98 7:09:09.799 下午  
    Message 6/22/98 7:09:09.799 下午 Ended GetProperty.
    Message 6/22/98 7:09:09.799 下午 Executing CheckPropertyAccessFromXML...
    Message 6/22/98 7:09:09.799 下午 CWIAEngine::GetDeviceType(lDeviceType = 0)
    Message 6/22/98 7:09:09.799 下午 Device Type: StiDeviceTypeScanner
    Message 6/22/98 7:09:09.799 下午 CWIAEngine::CheckAccess(pProperty = 0x00485B3C, ulAccessFlags = 3 (WIA_PROP_READ | WIA_PROP_RW | WIA_PROP_WRITE))
    Message 6/22/98 7:09:09.799 下午 The property has WIA_PROP_READ | WIA_PROP_RW | WIA_PROP_WRITE | WIA_PROP_RANGE access flags.
    Message 6/22/98 7:09:09.799 下午 CWIAEngine::CheckAccess(pProperty = 0x00485B3C, ulAccessFlags = 16 (WIA_PROP_RANGE))
    Message 6/22/98 7:09:09.799 下午 The property has WIA_PROP_READ | WIA_PROP_RW | WIA_PROP_WRITE | WIA_PROP_RANGE access flags.
    Message 6/22/98 7:09:09.799 下午 CheckPropertyAccessFromXML() returned: TRUE
    Message 6/22/98 7:09:09.799 下午 Ended CheckPropertyAccessFromXML.
    Message 6/22/98 7:09:09.799 下午 Executing CheckPropertyTypeFromXML...
    Message 6/22/98 7:09:09.799 下午 CWIAEngine::CheckVarType(pProperty = 0x00485B3C, varType = 3 (VT_I4))
    Message 6/22/98 7:09:09.799 下午 The property has VT_I4 vartype.
    Message 6/22/98 7:09:09.799 下午 CheckPropertyTypeFromXML() returned: TRUE
    Message 6/22/98 7:09:09.799 下午 Ended CheckPropertyTypeFromXML.
    Message 6/22/98 7:09:09.799 下午 Executing IsPropertyReadWrite...
    Message 6/22/98 7:09:09.799 下午 IsPropertyReadWrite() returned: TRUE
    Message 6/22/98 7:09:09.799 下午 Ended IsPropertyReadWrite.
    Message 6/22/98 7:09:09.799 下午 Executing SetPropertyInvalidValue...
    Message 6/22/98 7:09:09.799 下午 CWIAEngine::SetPropertyInvalidValue(): Settting the property value to: 511
    Message 6/22/98 7:09:09.799 下午 CWIAEngine::SetPropertyLong(pItem = 0x0048A08C, propid = WIA_IPS_THRESHOLD, lValue = 511)
    Message 6/22/98 7:09:09.799 下午 CWIAEngine::SetPropertylong(): _WritePropLong() failed
    Message 6/22/98 7:09:09.799 下午 SetPropertyInvalidValue() returned: FALSE
    Message 6/22/98 7:09:09.799 下午 Ended SetPropertyInvalidValue.
    Message 6/22/98 7:09:09.799 下午 Executing CheckSuppValues...
    Message 6/22/98 7:09:09.799 下午 Not a valid range: Combination of min, max and step is invalid.
    Message 6/22/98 7:09:09.799 下午 CheckSuppValues() returned: FALSE
    Message 6/22/98 7:09:09.799 下午 Ended CheckSuppValues.
    Message 6/22/98 7:09:09.799 下午 Checking supported property values failed
    Message 6/22/98 7:09:09.799 下午  
    Message 6/22/98 7:09:09.799 下午 [Execution ended - Test Result: FAILED]
    End Test 6/22/98 7:09:09.799 下午 Assertion_A134614 WDKTUID:{BEBB57A9-CD1B-4039-9612-48BDC20D6FAE}
    Result:   Fail
    Repro:   Test case completed.

    2009年6月24日 上午 10:19

所有回覆

  • 我在win7 7100 + dtm1.4 测试 Windows Image Acquisition驱动时,关于wia 的测试项目都fail了,请问一下win7 7100 + dtm1.4  支持 wia1.0 吗?有没有人遇到过在windows7上wia驱动测试失败的?
    2009年7月1日 上午 01:36