Lines Matching refs:DirectDraw
3 LPDIRECTDRAW7 DirectDraw; variable
15 BOOL ret = DirectDraw->CreateSurface(&Desc, &Surface, NULL) == test1; in TestCaps()
18 ret = ret && DirectDraw->CreateSurface(&Desc, &Surface, NULL) == test2; in TestCaps()
32 if (DirectDrawCreateEx(NULL, (VOID**)&DirectDraw, IID_IDirectDraw7, NULL) != DD_OK) in Test_CreateSurface()
38 TEST ( DirectDraw->CreateSurface(NULL, NULL, NULL) == DDERR_NOCOOPERATIVELEVELSET); in Test_CreateSurface()
43 DirectDraw->Release(); in Test_CreateSurface()
47 if (DirectDraw->SetCooperativeLevel (hwnd, DDSCL_NORMAL) != DD_OK) in Test_CreateSurface()
50 DirectDraw->Release(); in Test_CreateSurface()
60 …TEST ( DirectDraw->CreateSurface(&Desc, &Surface, (IUnknown*)0xdeadbeef) == CLASS_E_NOAGGREGATION … in Test_CreateSurface()
61 TEST ( DirectDraw->CreateSurface(NULL, &Surface, NULL) == DDERR_INVALIDPARAMS ); in Test_CreateSurface()
62 TEST ( DirectDraw->CreateSurface(&Desc, NULL, NULL) == DDERR_INVALIDPARAMS ); in Test_CreateSurface()
63 TEST ( DirectDraw->CreateSurface(&Desc, &Surface, NULL) == DDERR_INVALIDPARAMS ); in Test_CreateSurface()
68 DirectDraw->Release(); in Test_CreateSurface()