ole32: Fix a failing test in Vista.
This commit is contained in:
parent
f6a9514e96
commit
21cde57be5
|
@ -1749,7 +1749,9 @@ static void test_bind_context(void)
|
|||
bind_opts.cbStruct = -1;
|
||||
hr = IBindCtx_GetBindOptions(pBindCtx, (BIND_OPTS *)&bind_opts);
|
||||
ok_ole_success(hr, "IBindCtx_GetBindOptions");
|
||||
ok(bind_opts.cbStruct == sizeof(bind_opts), "bind_opts.cbStruct was %d\n", bind_opts.cbStruct);
|
||||
ok(bind_opts.cbStruct == sizeof(bind_opts) ||
|
||||
bind_opts.cbStruct == 36, /* Vista */
|
||||
"bind_opts.cbStruct was %d\n", bind_opts.cbStruct);
|
||||
|
||||
bind_opts.cbStruct = sizeof(BIND_OPTS);
|
||||
hr = IBindCtx_GetBindOptions(pBindCtx, (BIND_OPTS *)&bind_opts);
|
||||
|
|
Loading…
Reference in New Issue