Commit 21cde57b authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

ole32: Fix a failing test in Vista.

parent f6a9514e
...@@ -1749,7 +1749,9 @@ static void test_bind_context(void) ...@@ -1749,7 +1749,9 @@ static void test_bind_context(void)
bind_opts.cbStruct = -1; bind_opts.cbStruct = -1;
hr = IBindCtx_GetBindOptions(pBindCtx, (BIND_OPTS *)&bind_opts); hr = IBindCtx_GetBindOptions(pBindCtx, (BIND_OPTS *)&bind_opts);
ok_ole_success(hr, "IBindCtx_GetBindOptions"); 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); bind_opts.cbStruct = sizeof(BIND_OPTS);
hr = IBindCtx_GetBindOptions(pBindCtx, (BIND_OPTS *)&bind_opts); hr = IBindCtx_GetBindOptions(pBindCtx, (BIND_OPTS *)&bind_opts);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment