Commit 9c657b26 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

msxml: Test for insertBefore with a NULL output parameter.

parent 7fbf828a
......@@ -1038,9 +1038,14 @@ static void test_create(void)
ok( r == S_OK, "returns %08x\n", r );
ok( node == child, "%p %p\n", node, child );
IXMLDOMNode_Release( child );
IXMLDOMNode_Release( node );
V_VT(&var) = VT_NULL;
V_DISPATCH(&var) = (IDispatch*)node;
r = IXMLDOMNode_insertBefore( root, node, var, NULL );
ok( r == S_OK, "returns %08x\n", r );
IXMLDOMNode_Release( node );
r = IXMLDOMNode_QueryInterface( root, &IID_IXMLDOMElement, (LPVOID*)&element );
ok( r == S_OK, "returns %08x\n", r );
......
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