Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
f5075f73
Commit
f5075f73
authored
Dec 13, 2007
by
Lei Zhang
Committed by
Alexandre Julliard
Dec 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Set *ppvObject to NULL if QueryInterface fails.
parent
29cc256b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
2 deletions
+3
-2
enummoniker.c
dlls/quartz/enummoniker.c
+1
-0
main.c
dlls/quartz/main.c
+1
-0
systemclock.c
dlls/quartz/systemclock.c
+1
-0
referenceclock.c
dlls/quartz/tests/referenceclock.c
+0
-2
No files found.
dlls/quartz/enummoniker.c
View file @
f5075f73
...
@@ -89,6 +89,7 @@ static HRESULT WINAPI EnumMonikerImpl_QueryInterface(
...
@@ -89,6 +89,7 @@ static HRESULT WINAPI EnumMonikerImpl_QueryInterface(
return
S_OK
;
return
S_OK
;
}
}
*
ppvObj
=
NULL
;
FIXME
(
"- no interface
\n\t
IID:
\t
%s
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"- no interface
\n\t
IID:
\t
%s
\n
"
,
debugstr_guid
(
riid
));
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/quartz/main.c
View file @
f5075f73
...
@@ -89,6 +89,7 @@ DSCF_QueryInterface(LPCLASSFACTORY iface,REFIID riid,LPVOID *ppobj)
...
@@ -89,6 +89,7 @@ DSCF_QueryInterface(LPCLASSFACTORY iface,REFIID riid,LPVOID *ppobj)
return
S_OK
;
return
S_OK
;
}
}
*
ppobj
=
NULL
;
WARN
(
"(%p)->(%s,%p),not found
\n
"
,
This
,
debugstr_guid
(
riid
),
ppobj
);
WARN
(
"(%p)->(%s,%p),not found
\n
"
,
This
,
debugstr_guid
(
riid
),
ppobj
);
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/quartz/systemclock.c
View file @
f5075f73
...
@@ -210,6 +210,7 @@ static HRESULT WINAPI SystemClockImpl_QueryInterface(IReferenceClock* iface, REF
...
@@ -210,6 +210,7 @@ static HRESULT WINAPI SystemClockImpl_QueryInterface(IReferenceClock* iface, REF
return
S_OK
;
return
S_OK
;
}
}
*
ppobj
=
NULL
;
WARN
(
"(%p, %s,%p): not found
\n
"
,
This
,
debugstr_guid
(
riid
),
ppobj
);
WARN
(
"(%p, %s,%p): not found
\n
"
,
This
,
debugstr_guid
(
riid
),
ppobj
);
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/quartz/tests/referenceclock.c
View file @
f5075f73
...
@@ -38,9 +38,7 @@ static void test_IReferenceClock_query_interface(const char * clockdesc, IRefere
...
@@ -38,9 +38,7 @@ static void test_IReferenceClock_query_interface(const char * clockdesc, IRefere
hr
=
IReferenceClock_QueryInterface
(
pClock
,
&
IID_IDirectDraw
,
(
LPVOID
*
)
&
pF
);
hr
=
IReferenceClock_QueryInterface
(
pClock
,
&
IID_IDirectDraw
,
(
LPVOID
*
)
&
pF
);
ok
(
hr
==
E_NOINTERFACE
,
"IReferenceClock_QueryInterface returned %x
\n
"
,
hr
);
ok
(
hr
==
E_NOINTERFACE
,
"IReferenceClock_QueryInterface returned %x
\n
"
,
hr
);
todo_wine
{
ok
(
pF
==
NULL
,
"pF is not NULL
\n
"
);
ok
(
pF
==
NULL
,
"pF is not NULL
\n
"
);
}
hr
=
IReferenceClock_QueryInterface
(
pClock
,
&
IID_IReferenceClock
,
(
LPVOID
*
)
&
pF
);
hr
=
IReferenceClock_QueryInterface
(
pClock
,
&
IID_IReferenceClock
,
(
LPVOID
*
)
&
pF
);
ok
(
hr
==
S_OK
,
"IReferenceClock_QueryInterface returned %x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"IReferenceClock_QueryInterface returned %x
\n
"
,
hr
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment