mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 21:35:43 +00:00
shell32: Pass the object instead of the iface to an internal helper.
This commit is contained in:
parent
594002d011
commit
a14b7df847
|
@ -161,10 +161,9 @@ static ULONG WINAPI IExtractIconW_fnRelease(IExtractIconW * iface)
|
||||||
return refCount;
|
return refCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT getIconLocationForFolder(IExtractIconW *iface, UINT uFlags,
|
static HRESULT getIconLocationForFolder(IExtractIconWImpl *This, UINT uFlags, LPWSTR szIconFile,
|
||||||
LPWSTR szIconFile, UINT cchMax, int *piIndex, UINT *pwFlags)
|
UINT cchMax, int *piIndex, UINT *pwFlags)
|
||||||
{
|
{
|
||||||
IExtractIconWImpl *This = (IExtractIconWImpl *)iface;
|
|
||||||
int icon_idx;
|
int icon_idx;
|
||||||
WCHAR wszPath[MAX_PATH];
|
WCHAR wszPath[MAX_PATH];
|
||||||
WCHAR wszCLSIDValue[CHARS_IN_GUID];
|
WCHAR wszCLSIDValue[CHARS_IN_GUID];
|
||||||
|
@ -318,8 +317,7 @@ static HRESULT WINAPI IExtractIconW_fnGetIconLocation(
|
||||||
}
|
}
|
||||||
else if (_ILIsFolder (pSimplePidl))
|
else if (_ILIsFolder (pSimplePidl))
|
||||||
{
|
{
|
||||||
getIconLocationForFolder(iface, uFlags, szIconFile, cchMax, piIndex,
|
getIconLocationForFolder(This, uFlags, szIconFile, cchMax, piIndex, pwFlags);
|
||||||
pwFlags);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue