mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:35:59 +00:00
[QUARTZ_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68527
This commit is contained in:
parent
46dfae3faa
commit
1a0aa3e9fd
2 changed files with 6 additions and 7 deletions
|
@ -19,7 +19,6 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#define NONAMELESSUNION
|
||||
#define COBJMACROS
|
||||
|
||||
#include "wine/test.h"
|
||||
|
|
|
@ -28,21 +28,21 @@
|
|||
static void test_IReferenceClock_query_interface(const char * clockdesc, IReferenceClock * pClock)
|
||||
{
|
||||
HRESULT hr;
|
||||
void *pF;
|
||||
IUnknown *pF;
|
||||
|
||||
hr = IReferenceClock_QueryInterface(pClock, &IID_IUnknown, &pF);
|
||||
hr = IReferenceClock_QueryInterface(pClock, &IID_IUnknown, (void**)&pF);
|
||||
ok(hr == S_OK, "IReferenceClock_QueryInterface returned %x\n", hr);
|
||||
ok(pF != NULL, "pF is NULL\n");
|
||||
if (SUCCEEDED(hr)) IUnknown_Release((IUnknown *)pF);
|
||||
if (SUCCEEDED(hr)) IUnknown_Release(pF);
|
||||
|
||||
hr = IReferenceClock_QueryInterface(pClock, &IID_IDirectDraw, &pF);
|
||||
hr = IReferenceClock_QueryInterface(pClock, &IID_IDirectDraw, (void**)&pF);
|
||||
ok(hr == E_NOINTERFACE, "IReferenceClock_QueryInterface returned %x\n", hr);
|
||||
ok(pF == NULL, "pF is not NULL\n");
|
||||
|
||||
hr = IReferenceClock_QueryInterface(pClock, &IID_IReferenceClock, &pF);
|
||||
hr = IReferenceClock_QueryInterface(pClock, &IID_IReferenceClock, (void**)&pF);
|
||||
ok(hr == S_OK, "IReferenceClock_QueryInterface returned %x\n", hr);
|
||||
ok(pF != NULL, "pF is NULL\n");
|
||||
if (SUCCEEDED(hr)) IReferenceClock_Release((IReferenceClock *)pF);
|
||||
if (SUCCEEDED(hr)) IUnknown_Release(pF);
|
||||
}
|
||||
|
||||
/* The following method expects a reference clock that will keep ticking for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue