mirror of
https://github.com/reactos/wine.git
synced 2025-02-09 21:55:12 +00:00
urlmon: Skip pstgmed related tests if NULL.
This commit is contained in:
parent
3bf12b9aca
commit
61b4b0c362
@ -1283,11 +1283,13 @@ static HRESULT WINAPI statusclb_OnDataAvailable(IBindStatusCallback *iface, DWOR
|
||||
}
|
||||
|
||||
ok(pstgmed != NULL, "stgmeg == NULL\n");
|
||||
if(pstgmed) {
|
||||
ok(pstgmed->tymed == TYMED_ISTREAM, "tymed=%u\n", pstgmed->tymed);
|
||||
ok(U(*pstgmed).pstm != NULL, "pstm == NULL\n");
|
||||
ok(pstgmed->pUnkForRelease != NULL, "pUnkForRelease == NULL\n");
|
||||
if(!pstgmed) {
|
||||
skip("further pstgmed related tests here.\n");
|
||||
return S_OK;
|
||||
}
|
||||
ok(pstgmed->tymed == TYMED_ISTREAM, "tymed=%u\n", pstgmed->tymed);
|
||||
ok(U(*pstgmed).pstm != NULL, "pstm == NULL\n");
|
||||
ok(pstgmed->pUnkForRelease != NULL, "pUnkForRelease == NULL\n");
|
||||
|
||||
if(grfBSCF & BSCF_FIRSTDATANOTIFICATION) {
|
||||
hres = IStream_Write(U(*pstgmed).pstm, buf, 10, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user