Lines Matching refs:This

8  * This library is free software; you can redistribute it and/or
13 * This library is distributed in the hope that it will be useful,
40 IDirect3DSwapChain9Impl *This = (IDirect3DSwapChain9Impl *)iface;
47 *ppobj = This;
51 WARN("(%p)->(%s,%p),not found\n", This, debugstr_guid(riid), ppobj);
57 IDirect3DSwapChain9Impl *This = (IDirect3DSwapChain9Impl *)iface;
58 ULONG ref = InterlockedIncrement(&This->ref);
62 if(ref == 1 && This->parentDevice) IDirect3DDevice9Ex_AddRef(This->parentDevice);
68 IDirect3DSwapChain9Impl *This = (IDirect3DSwapChain9Impl *)iface;
69 ULONG ref = InterlockedDecrement(&This->ref);
74 IDirect3DDevice9Ex *parentDevice = This->parentDevice;
76 if (!This->isImplicit) {
78 IWineD3DSwapChain_Destroy(This->wineD3DSwapChain);
81 HeapFree(GetProcessHeap(), 0, This);
92 IDirect3DSwapChain9Impl *This = (IDirect3DSwapChain9Impl *)iface;
99 hr = IWineD3DSwapChain_Present(This->wineD3DSwapChain, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion, dwFlags);
106 IDirect3DSwapChain9Impl *This = (IDirect3DSwapChain9Impl *)iface;
112 hr = IWineD3DSwapChain_GetFrontBufferData(This->wineD3DSwapChain, ((IDirect3DSurface9Impl *)pDestSurface)->wineD3DSurface);
119 IDirect3DSwapChain9Impl *This = (IDirect3DSwapChain9Impl *)iface;
127 hrc = IWineD3DSwapChain_GetBackBuffer(This->wineD3DSwapChain, iBackBuffer, (WINED3DBACKBUFFER_TYPE) Type, &mySurface);
139 IDirect3DSwapChain9Impl *This = (IDirect3DSwapChain9Impl *)iface;
145 hr = IWineD3DSwapChain_GetRasterStatus(This->wineD3DSwapChain, (WINED3DRASTER_STATUS *) pRasterStatus);
152 IDirect3DSwapChain9Impl *This = (IDirect3DSwapChain9Impl *)iface;
158 hr = IWineD3DSwapChain_GetDisplayMode(This->wineD3DSwapChain, (WINED3DDISPLAYMODE *) pMode);
168 IDirect3DSwapChain9Impl *This = (IDirect3DSwapChain9Impl *)iface;
172 *device = (IDirect3DDevice9 *)This->parentDevice;
181 IDirect3DSwapChain9Impl *This = (IDirect3DSwapChain9Impl *)iface;
188 hr = IWineD3DSwapChain_GetPresentParameters(This->wineD3DSwapChain, &winePresentParameters);
282 IDirect3DDevice9Impl *This = (IDirect3DDevice9Impl *)iface;
290 hrc = IWineD3DDevice_GetSwapChain(This->WineD3DDevice, iSwapChain, &swapchain);
303 IDirect3DDevice9Impl *This = (IDirect3DDevice9Impl *)iface;
309 ret = IWineD3DDevice_GetNumberOfSwapChains(This->WineD3DDevice);
319 IDirect3DSwapChain9Impl *This = (IDirect3DSwapChain9Impl *)iface;
323 hr = IWineD3DSwapChain_PresentRt(This->wineD3DSwapChain, rt->wineD3DSurface);