setupapi: Add a few traces for SetupDecompressOrCopyFileW.
This commit is contained in:
parent
a44506b563
commit
6456e14055
|
@ -1474,6 +1474,8 @@ static UINT CALLBACK decompress_or_copy_callback( PVOID context, UINT notificati
|
||||||
if (context_info->has_extracted)
|
if (context_info->has_extracted)
|
||||||
return FILEOP_ABORT;
|
return FILEOP_ABORT;
|
||||||
|
|
||||||
|
TRACE("Requesting extraction of cabinet file %s\n",
|
||||||
|
wine_dbgstr_w(info->NameInCabinet));
|
||||||
strcpyW( info->FullTargetName, context_info->target );
|
strcpyW( info->FullTargetName, context_info->target );
|
||||||
context_info->has_extracted = 1;
|
context_info->has_extracted = 1;
|
||||||
return FILEOP_DOIT;
|
return FILEOP_DOIT;
|
||||||
|
@ -1537,10 +1539,20 @@ DWORD WINAPI SetupDecompressOrCopyFileW( PCWSTR source, PCWSTR target, PUINT typ
|
||||||
UINT comp;
|
UINT comp;
|
||||||
DWORD ret = ERROR_INVALID_PARAMETER;
|
DWORD ret = ERROR_INVALID_PARAMETER;
|
||||||
|
|
||||||
|
TRACE("(%s, %s, %p)\n", debugstr_w(source), debugstr_w(target), type);
|
||||||
|
|
||||||
if (!source || !target) return ERROR_INVALID_PARAMETER;
|
if (!source || !target) return ERROR_INVALID_PARAMETER;
|
||||||
|
|
||||||
if (!type) comp = detect_compression_type( source );
|
if (!type)
|
||||||
else comp = *type;
|
{
|
||||||
|
comp = detect_compression_type( source );
|
||||||
|
TRACE("Detected compression type %u\n", comp);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
comp = *type;
|
||||||
|
TRACE("Using specified compression type %u\n", comp);
|
||||||
|
}
|
||||||
|
|
||||||
switch (comp)
|
switch (comp)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue