winhttp/tests: Initialize a variant with a known value.
This commit is contained in:
parent
82f7651005
commit
3762de9d8c
|
@ -2131,8 +2131,8 @@ static void test_IWinHttpRequest(void)
|
|||
hr = CoCreateInstance( &CLSID_WinHttpRequest, NULL, CLSCTX_INPROC_SERVER, &IID_IWinHttpRequest, (void **)&req );
|
||||
ok( hr == S_OK, "got %08x\n", hr );
|
||||
|
||||
VariantInit( &empty );
|
||||
V_VT( &empty ) = VT_ERROR;
|
||||
V_ERROR( &empty ) = 0xdeadbeef;
|
||||
|
||||
V_VT( &async ) = VT_BOOL;
|
||||
V_BOOL( &async ) = VARIANT_FALSE;
|
||||
|
|
Loading…
Reference in New Issue