ok(hr==HRESULT_FROM_WIN32(ERROR_ARITHMETIC_OVERFLOW),"Seek returned with %#x, expected %#x\n",hr,HRESULT_FROM_WIN32(ERROR_ARITHMETIC_OVERFLOW));
ok(uNewPos.u.HighPart==0xdeadbeef&&uNewPos.u.LowPart==0xdeadbeef,"Seek cursor initialized to position (%u;%u), expected (%u;%u)\n",uNewPos.u.HighPart,uNewPos.u.LowPart,0xdeadbeef,0xdeadbeef);
ok(hr==E_INVALIDARG,"Seek returned with %#x, expected %#x\n",hr,E_INVALIDARG);
ok(uNewPos.u.HighPart==0xdeadbeef&&uNewPos.u.LowPart==0xdeadbeef,"Seek cursor initialized to position (%u;%u), expected (%u;%u)\n",uNewPos.u.HighPart,uNewPos.u.LowPart,0xdeadbeef,0xdeadbeef);
ok(hr==E_INVALIDARG,"Seek returned with %#x, expected %#x\n",hr,E_INVALIDARG);
ok(uNewPos.u.HighPart==0xdeadbeef&&uNewPos.u.LowPart==0xdeadbeef,"Seek cursor initialized to position (%u;%u), expected (%u;%u)\n",uNewPos.u.HighPart,uNewPos.u.LowPart,0xdeadbeef,0xdeadbeef);
"Seek returned with %#x, expected %#x\n",hr,HRESULT_FROM_WIN32(ERROR_ARITHMETIC_OVERFLOW));
ok(uNewPos.u.HighPart==0xdeadbeef&&uNewPos.u.LowPart==0xdeadbeef,"Seek cursor initialized to position (%u;%u), expected (%u;%u)\n",uNewPos.u.HighPart,uNewPos.u.LowPart,0xdeadbeef,0xdeadbeef);
ok(hr==S_OK,"Seek returned with %#x, expected %#x\n",hr,S_OK);
ok(uNewPos.u.HighPart==0&&uNewPos.u.LowPart==0,"Seek cursor moved to position (%u;%u), expected (%u;%u)\n",uNewPos.u.HighPart,uNewPos.u.LowPart,0,0);/* remains unchanged */
ok(hr==WINCODEC_ERR_VALUEOUTOFRANGE,"Seek returned with %#x, expected %#x\n",hr,WINCODEC_ERR_VALUEOUTOFRANGE);
ok(uNewPos.u.HighPart==0xdeadbeef&&uNewPos.u.LowPart==0xdeadbeef,"Seek cursor initialized to position (%u;%u), expected (%u;%u)\n",uNewPos.u.HighPart,uNewPos.u.LowPart,0xdeadbeef,0xdeadbeef);
ok(hr==WINCODEC_ERR_VALUEOUTOFRANGE,"Seek returned with %#x, expected %#x\n",hr,WINCODEC_ERR_VALUEOUTOFRANGE);
ok(uNewPos.u.HighPart==0xdeadbeef&&uNewPos.u.LowPart==0xdeadbeef,"Seek cursor initialized to position (%u;%u), expected (%u;%u)\n",uNewPos.u.HighPart,uNewPos.u.LowPart,0xdeadbeef,0xdeadbeef);
ok(hr==WINCODEC_ERR_VALUEOUTOFRANGE,"Seek returned with %#x, expected %#x\n",hr,WINCODEC_ERR_VALUEOUTOFRANGE);
ok(uNewPos.u.HighPart==0xdeadbeef&&uNewPos.u.LowPart==0xdeadbeef,"Seek cursor initialized to position (%u;%u), expected (%u;%u)\n",uNewPos.u.HighPart,uNewPos.u.LowPart,0xdeadbeef,0xdeadbeef);
"Seek returned with %#x, expected %#x\n",hr,HRESULT_FROM_WIN32(ERROR_ARITHMETIC_OVERFLOW));
ok(uNewPos.u.HighPart==0xdeadbeef&&uNewPos.u.LowPart==0xdeadbeef,"Seek cursor initialized to position (%u;%u), expected (%u;%u)\n",uNewPos.u.HighPart,uNewPos.u.LowPart,0xdeadbeef,0xdeadbeef);
ok(hr==S_OK,"Seek returned with %#x, expected %#x\n",hr,S_OK);
ok(uNewPos.u.HighPart==0&&uNewPos.u.LowPart==0,"Seek cursor moved to position (%u;%u), expected (%u;%u)\n",uNewPos.u.HighPart,uNewPos.u.LowPart,0,0);/* remains unchanged */