amstream may not be broken. Error 80040256 is VFW_E_NO_AUDIO_HARDWARE. So I guess the VM does not have audio HW. I don't know how to verify this.
I will send a new patch after or submit a updated one.

2012/3/16 Christian Costa <titan.costa@gmail.com>

2012/3/16 Marvin <testbot@testbot.winehq.org>
Hi,

While running your changed tests on Windows, I think I found new failures.
Being a bot and all I'm not very good at pattern recognition, so I might be
wrong, but could you please double-check?
Full results can be found at
http://testbot.winehq.org/JobDetails.pl?Key=17387

Your paranoid android.


=== W2KPROSP4 (32 bit amstream) ===
amstream.c:212: Test failed: IAMMultiMediaStream_AddMediaStream returned: 80040256


amstream seems broken in this platform.
Except for WNT4WSSP6 which does not support amstream, the 21 tests run successfully on all others platforms.
The same problem appears on all subsequent patches at same line of test code.

Christian

=== WINEBUILD (build) ===
No build failures found

=== WNT4WSSP6 (32 bit amstream) ===
No test failures found


=== W2KPROSP4 (32 bit amstream) ===

amstream:
amstream.c:212: Test failed: IAMMultiMediaStream_
AddMediaStream returned: 80040256

=== WXPPROSP3 (32 bit amstream) ===
No test failures found

=== W2K3R2SESP2 (32 bit amstream) ===
No test failures found

=== WVISTAADM (32 bit amstream) ===
No test failures found

=== W2K8SE (32 bit amstream) ===
No test failures found

=== W7PRO (32 bit amstream) ===
No test failures found

=== W7PROX64 (32 bit amstream) ===
No test failures found

=== TEST64_W7SP1 (32 bit amstream) ===
No test failures found

=== W7PROX64 (64 bit amstream) ===
No test failures found

=== TEST64_W7SP1 (64 bit amstream) ===
No test failures found