Uaa That was just like a fresh drink. It hit my question just in to the point. A big thanks. Waldemar WO> Waldemar Haszlakiewicz wrote: >> Lets assume we allocate KSALLOCATOR_FRAMING_EX for every pin, now if >> Pin_SetDataFormat would return STATUS_SUCCESS, can we just change >> the KSPIN->Descriptor->AllocatorFraming? >> The problem is that both the upper structures are declared as >> const-> which we could assume that Microsoft programmers assumed that >> those structures wont change in the process. WO> This is what KsEdit is for. The two Microsoft transform filters I've WO> disassembled use it to make a copy of the constant allocator framing WO> structure for just this purpose. You don't even need the cooperation of WO> the original filter here, since KsEdit adds the memory to an object WO> "bag" that's automatically released. WO> -- WO> Walter Oney, Consulting and Training WO> Basic and Advanced Driver Programming Seminars WO> Check out our schedule at http://www.oneysoft.com WO> ****************** WO> WDMAUDIODEV addresses: WO> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx WO> Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe WO> Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe WO> Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx WO> URL to WDMAUDIODEV page: WO> http://www.wdmaudiodev.de/ ****************** WDMAUDIODEV addresses: Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx URL to WDMAUDIODEV page: http://www.wdmaudiodev.de/