From f6503a8b11ee7a0c86d0363a92fa978d9bce3142 Mon Sep 17 00:00:00 2001 From: Christian Costa Date: Mon, 3 Dec 2012 09:18:40 +0100 Subject: [PATCH] cabarc: Handle fdintNEXT_CABINET notification to support multi-cab archive. --- programs/cabarc/cabarc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/programs/cabarc/cabarc.c b/programs/cabarc/cabarc.c index bb3ad7eaebe..47bb8dbae85 100644 --- a/programs/cabarc/cabarc.c +++ b/programs/cabarc/cabarc.c @@ -454,6 +454,10 @@ static INT_PTR CDECL extract_notify( FDINOTIFICATIONTYPE fdint, PFDINOTIFICATION CloseHandle( (HANDLE)pfdin->hf ); return 0; + case fdintNEXT_CABINET: + WINE_TRACE("Next cab: status %u, path '%s', file '%s'\n", pfdin->fdie, pfdin->psz3, pfdin->psz1); + return pfdin->fdie == FDIERROR_NONE ? 0 : -1; + default: WINE_FIXME( "Unexpected notification type %d.\n", fdint ); return 0;