crypt32: CryptUnprotectData: test zero-length payload

Dan Kegel dank at
Thu Oct 29 09:07:01 CDT 2009

On Thu, Oct 29, 2009 at 7:05 AM, Dan Kegel <dank at> wrote:
> On Thu, Oct 29, 2009 at 1:06 AM, Paul Vriens < at> wrote:
>> Some testfailures on everything below W2K. Some tests were already skipped
>> because of this.
>> I tried several things but the last error is always set to
>> RPC_X_WRONG_STUB_VERSION. Maybe we should test for that before we do any
>> tests and bail out? Does this error make sense on 9x/Me/NT4?
> may have a clue, it mentions that midl has a /robust option that
> produces this error if used with older windows?

Oh, and the other part of the clue: I hear that on Windows,
this function's guts are implemented with COM.  So perhaps
Windows is tripping over its shoelaces internally on this?

More information about the wine-devel mailing list