/* Test WidenPath with an open path (last error only set on Win2k and later) */
SetLastError(0xdeadbeef);
BeginPath(hdc);
ret=WidenPath(hdc);
error=GetLastError();
ok(ret==FALSE&&GetLastError()==ERROR_CAN_NOT_COMPLETE,"WidenPath fails while widening an open path. Return value is %d, should be %d. Error is %08x, should be %08x\n",ret,FALSE,GetLastError(),ERROR_CAN_NOT_COMPLETE);