WaveCyclic audio driver DTM issue -- KS Topology Test Failed

Hi All
Our audio driver is always failed the DTM test KS Topology Test.
There are two ITEM fail.I must fix one by one.
The one is :
<<<<<

Message
1/25/2005 3:20:33.312 PM
Node[01] (KSNODETYPE_VOLUME)

Message
1/25/2005 3:20:33.312 PM
Property Descriptor[00] (KSPROPERTY_AUDIO_VOLUMELEVEL)

Message
1/25/2005 3:20:33.312 PM
IOCTL called with an output buffer size of 0.

Message
1/25/2005 3:20:33.312 PM
IOCTL called with an output buffer size of 1.

Message
1/25/2005 3:20:33.312 PM
IOCTL called with an output buffer size of 2.

Message
1/25/2005 3:20:33.312 PM
IOCTL called with an output buffer size of 6.

Message
1/25/2005 3:20:33.312 PM
IOCTL called with an output buffer size of 8.

Error
1/25/2005 3:20:33.312 PM
FAIL: Node[01] KSNODETYPE_VOLUME - Property[00] KSPROPERTY_AUDIO_VOLUMELEVEL: KSPROPERTY_MEMBERSHEADER.Flags is a channel property or has more than one channel and therefore must haveKSPROPERTY_MEMBER_FLAG_BASICSUPPORT_MULTICHANNEL set

<<<<<
I know the error is because of my VolumeLevel Basic Proterty handler implement.
The Volume node intend to support Two channel PCM volume control.
I report the Basic Property handler for volume node like this. Lost of ddk samples do like this. but the error from DTM seems say my "memberHeader->Flags " is not correct.

>>>>>my handler for basic volume
KSPROPERTY_MEMBERSHEADER *memberHeader = reinterpret_cast<ksproperty_membersheader>(ksDesc + 1); memberHeader->MembersFlags = KSPROPERTY_MEMBER_STEPPEDRANGES; memberHeader->MembersSize = sizeof(KSPROPERTY_STEPPING_LONG); memberHeader->MembersCount = 2; memberHeader->Flags = 0; KSPROPERTY_STEPPING_LONG *stepping = reinterpret_cast<ksproperty_stepping_long>(memberHeader + 1); ULONG i; for(i = 0; i< ksDesc->MembersListCount;i++) { stepping[i].Reserved = 0; stepping[i].Bounds.SignedMinimum = 0 - 4 * 0x4000; stepping[i].Bounds.SignedMaximum = (8 - 4) * 0x4000; stepping[i].SteppingDelta = 0x4000; }
>>>>>>
I also note that the DDK says the XP and later os support KSPROPERTY_MEMBER_FLAG_BASICSUPPORT_MULTICHANNEL for the flag to support multi-channel volume . after I set the Flag to KSPROPERTY_MEMBER_FLAG_BASICSUPPORT_MULTICHANNEL
the error for DTM become:

<<<<<<<<

Message
1/25/2005 3:12:44.281 PM
Node[01] (KSNODETYPE_VOLUME)

Message
1/25/2005 3:12:44.281 PM
Property Descriptor[00] (KSPROPERTY_AUDIO_VOLUMELEVEL)

Message
1/25/2005 3:12:44.281 PM
IOCTL called with an output buffer size of 0.

Message
1/25/2005 3:12:44.281 PM
IOCTL called with an output buffer size of 1.

Message
1/25/2005 3:12:44.281 PM
IOCTL called with an output buffer size of 2.

Message
1/25/2005 3:12:44.281 PM
IOCTL called with an output buffer size of 6.

Message
1/25/2005 3:12:44.281 PM
IOCTL called with an output buffer size of 8.

Error
1/25/2005 3:12:44.281 PM
FAIL: Node[01] KSNODETYPE_VOLUME - Property[00] KSPROPERTY_AUDIO_VOLUMELEVEL: KSPROPERTY_MEMBERSHEADER.Flags has KSPROPERTY_MEMBER_FLAG_BASICSUPPORT_MULTICHANNEL set and must return the number of channels in KSPROPERTY_MEMBERSHEADER.MembersCount
<<<<<<<<

I do set the MembersCount to 2. I don’t know what MS need us to report.
Is there any error in my implement?Please correct me.

thanks
rech

_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&amp;mkt=en-US&amp;form=QBRE</ksproperty_stepping_long></ksproperty_membersheader>