mirror of
https://github.com/reactos/reactos.git
synced 2025-02-28 19:32:59 +00:00
[WINESYNC] setupapi: Extract individual files from cabinets.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id fccb7552ebe81ea2c0c17bc747a920f90e2537a5 by Zebediah Figura <z.figura12@gmail.com>
NOTE: Already committed in ReactOS in commit 5c8ec78b7
(PR #5233).
This commit is contained in:
parent
5820e2f627
commit
090f1b629b
2 changed files with 3 additions and 3 deletions
|
@ -381,7 +381,7 @@ static UINT WINAPI extract_cab_cb( void *arg, UINT message, UINT_PTR param1, UIN
|
|||
|
||||
if (lstrcmpiW( filename, ctx->src ))
|
||||
return FILEOP_SKIP;
|
||||
|
||||
|
||||
strcpyW( info->FullTargetName, ctx->dst );
|
||||
return FILEOP_DOIT;
|
||||
}
|
||||
|
@ -416,8 +416,8 @@ static BOOL extract_cabinet_file( const WCHAR *cabinet, const WCHAR *root,
|
|||
static const WCHAR extW[] = {'.','c','a','b',0};
|
||||
#endif
|
||||
static const WCHAR backslashW[] = {'\\',0};
|
||||
WCHAR path[MAX_PATH];
|
||||
struct extract_cab_ctx ctx = {src, dst};
|
||||
WCHAR path[MAX_PATH];
|
||||
|
||||
#ifdef __REACTOS__
|
||||
TRACE("extract_cabinet_file(cab = '%s' ; root = '%s' ; src = '%s' ; dst = '%s')\n",
|
||||
|
|
|
@ -8,4 +8,4 @@ files:
|
|||
dlls/setupapi/setupcab.c: dll/win32/setupapi/setupcab.c
|
||||
dlls/setupapi/stringtable.c: dll/win32/setupapi/stringtable_wine.c
|
||||
tags:
|
||||
wine: 7204f0f67f9fbd8765fce86c4195269c4f5aa876
|
||||
wine: fccb7552ebe81ea2c0c17bc747a920f90e2537a5
|
||||
|
|
Loading…
Reference in a new issue