KSPROPERTY_DD_BDA_SELECT_STANDARD QuerySupported=3. SelectStandard is enabled. SelectStream is disabled. SelectStandard: Fail to IKsPropertySet::Get() function. ret=0x8007007a
KSPROPERTY_DD_BDA_SELECT_STANDARD QuerySupported=3. SelectStandard is enabled. SelectStream is disabled. SelectStandard: Trying to determine required buffer size by specifying NULL for pPropData. SelectStandard: Fail to IKsPropertySet::Get() function. ret=0x8007007a SelectStandard: Trying to determine required buffer size by specifying large buffer for pPropData. SelectStandard: Succeeded to IKsPropertySet::Get() function. bytes=4, val=-1 SelectStandard: trying to set. val=8. SelectStandard: Fail to IKsPropertySet::Set() function. ret=0x8007007a SelectStandard: Trying to determine required buffer size by specifying NULL for pPropData. SelectStandard: Fail to IKsPropertySet::Get() function. ret=0x8007007a SelectStandard: Trying to determine required buffer size by specifying large buffer for pPropData. SelectStandard: Succeeded to IKsPropertySet::Get() function. bytes=4, val=-1 029823 (ワッチョイ cf81-XWbl)2018/11/24(土) 14:04:48.10ID:gzliMri20>>295
別件ですが、ケーブル系でCH設定をする時、偏波がスペースだと Format Error in readIniFile; Wrong Polarization. のエラーがlogに出ます。
動作は問題ないようです。 0299radi_sh ◆w66DTUAjabhm (ワッチョイW 6fe3-yxBh)2018/11/24(土) 14:39:51.95ID:mPuP8zLp0 > Format Error in readIniFile; Wrong Polarization. あ、不具合ですね。見つけていただいてありがとうございます 0300radi_sh ◆w66DTUAjabhm (ワッチョイW 6fe3-yxBh)2018/11/24(土) 15:09:34.17ID:mPuP8zLp0 (長文失礼)ここまでのテスト経過 IKsPropertySet::Get(guidPropSet, dwPropID, NULL, 0, NULL, 0, &dwReturned)で必要なバッファ サイズを返すべき(MSDNに書いてある)だがエラーになる IKsPropertySet::Get(guidPropSet, dwPropID, NULL, 0, &buffer, sizeof(buffer), &dwReturned)のようにインスタンスデータを未指定で呼び出すとエラーになる(これはまあ、よくあること) IKsPropertySet::Get(guidPropSet, dwPropID, &buffer, sizeof(buffer), &buffer, sizeof(buffer), &dwReturned)で大きなバッファサイズを割り当てて呼び出すとdwReturnedに「4」が返ってくる(必要なバッファのサイズ) また、bufferに返ってきた値はULONG値で「-1」(なにも設定されていない)であり、想定どおりである しかしながら、バッファーのサイズが4byteしかない場合はIKsPropertySet::GetもIKsPropertySet::Setもエラーが返ってくる DDのドライバの出来が悪いと思われます DD_KSProperties.hには、IKsControl::KsPropertyを使え的なことを書いてあるのでIKsPropertySetの方はテストされていないのかも 0301名無しさん@編集中 (ワッチョイ b3d6-kupq)2018/11/24(土) 15:55:42.45ID:y03Rc8Ic0 instanceをKSPROPERTY、propをULONGでやってるけど StartChanges/CommitChangesの外でSetがどうなるかは試してないな 0302radi_sh ◆w66DTUAjabhm (ワッチョイW 6fe3-yxBh)2018/11/24(土) 16:21:20.53ID:mPuP8zLp0 偶にありそうなのは struct { KSPROPERTY Property; ULONG SignalStandard; } st; Get(guidPropSet, dwPropID, INSTANCEDATA_OF_PROPERTY_PTR(&st), INSTANCEDATA_OF_PROPERTY_SIZE(st), &Frequency, sizeof(Frequency), &dwReturned); 的なやつだけど これだったらdwReturnedの値が「4」なわけない 0303radi_sh ◆w66DTUAjabhm (ワッチョイW 6fe3-yxBh)2018/11/24(土) 16:23:15.73ID:mPuP8zLp0 コピペミスった Get(guidPropSet, dwPropID, INSTANCEDATA_OF_PROPERTY_PTR(&st), INSTANCEDATA_OF_PROPERTY_SIZE(st), &st, sizeof(st), &dwReturned); ね 0304radi_sh ◆w66DTUAjabhm (ワッチョイW 6fe3-yxBh)2018/11/24(土) 16:46:46.07ID:mPuP8zLp0 Test-20181124.2.zipを追加しました https://github.com/radi-sh/BDASpecial-DD/releases/tag/Test-20181124030523 (ワッチョイ cf81-XWbl)2018/11/24(土) 17:35:01.79ID:gzliMri20>>304 その1です SelectStandard: Succeeded to IKsPropertySet::Get() function. bytes=4, val=-1 SelectStandard: trying to set. val=8. SelectStandard: Driver's bug? Fail to IKsPropertySet::Set() function. ret=0x8007007a SelectStandard: trying to set with large buffer. val=8. SelectStandard: Succeeded to IKsPropertySet::Get() function. bytes=4, val=-1 030623 (ワッチョイ cf81-XWbl)2018/11/24(土) 17:41:21.55ID:gzliMri20>>304 その2です SelectStandard: trying to set. val=10. SelectStandard: Driver's bug? Fail to IKsPropertySet::Set() function. ret=0x8007007a SelectStandard: trying to set with large buffer. val=10. SelectStandard: Succeeded to IKsPropertySet::Get() function. bytes=4, val=-1 SelectStandard: trying to set. val=16. SelectStandard: Driver's bug? Fail to IKsPropertySet::Set() function. ret=0x8007007a SelectStandard: trying to set with large buffer. val=16. 030723 (ワッチョイ cf81-XWbl)2018/11/24(土) 17:44:07.59ID:gzliMri20>>304 BonDriverのlogです LoadTunerDependCode: CreateBdaSpecials found. Build graph Successfully. [LoadTunerSignalStatistics] SUCCESS. DecodeProcThread: Thread created. DecodeProcThread: Detected IBdaSpecials decoding=0. SetChannel(0, 12) Requesting tune. Fail to put tune request. SetChannel failed. SetChannel(1, 0) Requesting pre tune. Fail to put pre tune request. SetChannel failed. SetChannel(3, 8) Requesting tune. Fail to put tune request. SetChannel failed. 0308radi_sh ◆w66DTUAjabhm (ワッチョイW 6fe3-yxBh)2018/11/24(土) 18:27:55.48ID:mPuP8zLp0 IKsPropertySet::Set() まで成功しているみたいですが、反映されていないみたいです StartChanges()とCommitChanges()が必要なのかもしれません もしそうだとしたらこの仕様もちょっとどうかと思います これらのメソッドは本来NetworkProviderとの間でだけで行われるべきですし 実際DDの拡張プロパティのPLP IDやCAM Controlの設定には不要です Driver側のコードを書く上からしたら都合がいいのでしょうが