Author: akhaldi
Date: Thu Nov 17 23:08:33 2016
New Revision: 73292
URL:
http://svn.reactos.org/svn/reactos?rev=73292&view=rev
Log:
[STI] Sync with Wine Staging 1.9.23. CORE-12409
Modified:
trunk/reactos/dll/win32/sti/sti.c
trunk/reactos/media/doc/README.WINE
Modified: trunk/reactos/dll/win32/sti/sti.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/sti/sti.c?rev=73…
==============================================================================
--- trunk/reactos/dll/win32/sti/sti.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/sti/sti.c [iso-8859-1] Thu Nov 17 23:08:33 2016
@@ -34,9 +34,9 @@
typedef struct _stillimage
{
+ IUnknown IUnknown_inner;
IStillImageW IStillImageW_iface;
- IUnknown IUnknown_iface;
- IUnknown *pUnkOuter;
+ IUnknown *outer_unk;
LONG ref;
} stillimage;
@@ -49,19 +49,19 @@
{
stillimage *This = impl_from_IStillImageW(iface);
TRACE("(%p %s %p)\n", This, debugstr_guid(riid), ppvObject);
- return IUnknown_QueryInterface(This->pUnkOuter, riid, ppvObject);
+ return IUnknown_QueryInterface(This->outer_unk, riid, ppvObject);
}
static ULONG WINAPI stillimagew_AddRef(IStillImageW *iface)
{
stillimage *This = impl_from_IStillImageW(iface);
- return IUnknown_AddRef(This->pUnkOuter);
+ return IUnknown_AddRef(This->outer_unk);
}
static ULONG WINAPI stillimagew_Release(IStillImageW *iface)
{
stillimage *This = impl_from_IStillImageW(iface);
- return IUnknown_Release(This->pUnkOuter);
+ return IUnknown_Release(This->outer_unk);
}
static HRESULT WINAPI stillimagew_Initialize(IStillImageW *iface, HINSTANCE hinst, DWORD
dwVersion)
@@ -251,7 +251,7 @@
static inline stillimage *impl_from_IUnknown(IUnknown *iface)
{
- return CONTAINING_RECORD(iface, stillimage, IUnknown_iface);
+ return CONTAINING_RECORD(iface, stillimage, IUnknown_inner);
}
static HRESULT WINAPI Internal_QueryInterface(IUnknown *iface, REFIID riid, void
**ppvObject)
@@ -325,18 +325,18 @@
if (This)
{
This->IStillImageW_iface.lpVtbl = &stillimagew_vtbl;
- This->IUnknown_iface.lpVtbl = &internal_unk_vtbl;
+ This->IUnknown_inner.lpVtbl = &internal_unk_vtbl;
if (pUnkOuter)
- This->pUnkOuter = pUnkOuter;
+ This->outer_unk = pUnkOuter;
else
- This->pUnkOuter = &This->IUnknown_iface;
+ This->outer_unk = &This->IUnknown_inner;
This->ref = 1;
hr = IStillImage_Initialize(&This->IStillImageW_iface, hinst, dwVer);
if (SUCCEEDED(hr))
{
if (pUnkOuter)
- *ppSti = (IStillImageW*) &This->IUnknown_iface;
+ *ppSti = (IStillImageW*) &This->IUnknown_inner;
else
*ppSti = &This->IStillImageW_iface;
}
Modified: trunk/reactos/media/doc/README.WINE
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Thu Nov 17 23:08:33 2016
@@ -180,7 +180,7 @@
reactos/dll/win32/softpub # Synced to WineStaging-1.9.11
reactos/dll/win32/stdole2.tlb # Synced to WineStaging-1.9.11
reactos/dll/win32/stdole32.tlb # Synced to WineStaging-1.9.11
-reactos/dll/win32/sti # Synced to WineStaging-1.9.11
+reactos/dll/win32/sti # Synced to WineStaging-1.9.23
reactos/dll/win32/sxs # Synced to WineStaging-1.9.11
reactos/dll/win32/t2embed # Synced to WineStaging-1.9.11
reactos/dll/win32/tapi32 # Synced to WineStaging-1.9.11