Lines Matching defs:This

6  * This library is free software; you can redistribute it and/or
11 * This library is distributed in the hope that it will be useful,
37 IDirect3DSurface8Impl *This = (IDirect3DSurface8Impl *)iface;
45 *ppobj = This;
49 WARN("(%p)->(%s,%p),not found\n", This, debugstr_guid(riid), ppobj);
55 IDirect3DSurface8Impl *This = (IDirect3DSurface8Impl *)iface;
59 if (This->forwardReference) {
61 TRACE("(%p) : Forwarding to %p\n", This, This->forwardReference);
62 return IUnknown_AddRef(This->forwardReference);
65 ULONG ref = InterlockedIncrement(&This->ref);
71 if (This->parentDevice) IUnknown_AddRef(This->parentDevice);
73 IUnknown_AddRef(This->wineD3DSurface);
82 IDirect3DSurface8Impl *This = (IDirect3DSurface8Impl *)iface;
86 if (This->forwardReference) {
88 TRACE("(%p) : Forwarding to %p\n", This, This->forwardReference);
89 return IUnknown_Release(This->forwardReference);
92 ULONG ref = InterlockedDecrement(&This->ref);
97 IDirect3DDevice8 *parentDevice = This->parentDevice;
101 IWineD3DSurface_Release(This->wineD3DSurface);
114 IDirect3DSurface8Impl *This = (IDirect3DSurface8Impl *)iface;
118 if (This->forwardReference)
123 hr = IUnknown_QueryInterface(This->forwardReference, &IID_IDirect3DResource8, (void **)&resource);
135 *device = (IDirect3DDevice8 *)This->parentDevice;
144 IDirect3DSurface8Impl *This = (IDirect3DSurface8Impl *)iface;
151 hr = IWineD3DSurface_SetPrivateData(This->wineD3DSurface, refguid, pData, SizeOfData, Flags);
158 IDirect3DSurface8Impl *This = (IDirect3DSurface8Impl *)iface;
165 hr = IWineD3DSurface_GetPrivateData(This->wineD3DSurface, refguid, pData, pSizeOfData);
172 IDirect3DSurface8Impl *This = (IDirect3DSurface8Impl *)iface;
178 hr = IWineD3DSurface_FreePrivateData(This->wineD3DSurface, refguid);
186 IDirect3DSurface8Impl *This = (IDirect3DSurface8Impl *)iface;
191 if (!This->container) return E_NOINTERFACE;
193 res = IUnknown_QueryInterface(This->container, riid, ppContainer);
195 TRACE("(%p) : returning %p\n", This, *ppContainer);
200 IDirect3DSurface8Impl *This = (IDirect3DSurface8Impl *)iface;
207 hr = IWineD3DSurface_GetDesc(This->wineD3DSurface, &wined3ddesc);
226 IDirect3DSurface8Impl *This = (IDirect3DSurface8Impl *)iface;
249 hr = IWineD3DSurface_LockRect(This->wineD3DSurface, (WINED3DLOCKED_RECT *) pLockedRect, pRect, Flags);
256 IDirect3DSurface8Impl *This = (IDirect3DSurface8Impl *)iface;
262 hr = IWineD3DSurface_UnlockRect(This->wineD3DSurface);