mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 02:41:22 +00:00
[HNETCFG] Sync with Wine Staging 3.9. CORE-14656
This commit is contained in:
parent
4f653a5538
commit
1d62a5beb5
2 changed files with 7 additions and 15 deletions
|
@ -61,7 +61,7 @@ static ULONG WINAPI fw_app_Release(
|
|||
if (!refs)
|
||||
{
|
||||
TRACE("destroying %p\n", fw_app);
|
||||
if (fw_app->filename) SysFreeString( fw_app->filename );
|
||||
SysFreeString( fw_app->filename );
|
||||
HeapFree( GetProcessHeap(), 0, fw_app );
|
||||
}
|
||||
return refs;
|
||||
|
@ -256,16 +256,10 @@ static HRESULT WINAPI fw_app_get_ProcessImageFileName(
|
|||
FIXME("%p, %p\n", This, imageFileName);
|
||||
|
||||
if (!imageFileName)
|
||||
return E_INVALIDARG;
|
||||
|
||||
if (!This->filename)
|
||||
{
|
||||
*imageFileName = NULL;
|
||||
return S_OK;
|
||||
}
|
||||
return E_POINTER;
|
||||
|
||||
*imageFileName = SysAllocString( This->filename );
|
||||
return *imageFileName ? S_OK : E_OUTOFMEMORY;
|
||||
return *imageFileName || !This->filename ? S_OK : E_OUTOFMEMORY;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI fw_app_put_ProcessImageFileName(
|
||||
|
@ -276,12 +270,10 @@ static HRESULT WINAPI fw_app_put_ProcessImageFileName(
|
|||
|
||||
FIXME("%p, %s\n", This, debugstr_w(imageFileName));
|
||||
|
||||
if (!imageFileName)
|
||||
{
|
||||
This->filename = NULL;
|
||||
return S_OK;
|
||||
}
|
||||
if (!imageFileName || !imageFileName[0])
|
||||
return E_INVALIDARG;
|
||||
|
||||
SysFreeString( This->filename );
|
||||
This->filename = SysAllocString( imageFileName );
|
||||
return This->filename ? S_OK : E_OUTOFMEMORY;
|
||||
}
|
||||
|
|
|
@ -71,7 +71,7 @@ reactos/dll/win32/fusion # Synced to WineStaging-3.3
|
|||
reactos/dll/win32/gdiplus # Synced to WineStaging-3.9
|
||||
reactos/dll/win32/hhctrl.ocx # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/hlink # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/hnetcfg # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/hnetcfg # Synced to WineStaging-3.9
|
||||
reactos/dll/win32/httpapi # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/iccvid # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/ieframe # Synced to WineStaging-3.3
|
||||
|
|
Loading…
Reference in a new issue