mirror of
https://github.com/reactos/reactos.git
synced 2024-10-21 13:00:24 +00:00
[USETUP]
- Critical errors are worth a debug print CORE-11819 svn path=/trunk/; revision=73172
This commit is contained in:
parent
a9c9bed2e2
commit
602c2dd81e
|
@ -529,7 +529,7 @@ CabinetOpen(VOID)
|
||||||
|
|
||||||
if (!NT_SUCCESS(NtStatus))
|
if (!NT_SUCCESS(NtStatus))
|
||||||
{
|
{
|
||||||
DPRINT("Cannot open file (%S) (%x)\n", CabinetName, NtStatus);
|
DPRINT1("Cannot open file (%S) (%x)\n", CabinetName, NtStatus);
|
||||||
return CAB_STATUS_CANNOT_OPEN;
|
return CAB_STATUS_CANNOT_OPEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -544,7 +544,7 @@ CabinetOpen(VOID)
|
||||||
|
|
||||||
if (!NT_SUCCESS(NtStatus))
|
if (!NT_SUCCESS(NtStatus))
|
||||||
{
|
{
|
||||||
DPRINT("NtCreateSection failed: %x\n", NtStatus);
|
DPRINT1("NtCreateSection failed: %x\n", NtStatus);
|
||||||
return CAB_STATUS_NOMEMORY;
|
return CAB_STATUS_NOMEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -562,7 +562,7 @@ CabinetOpen(VOID)
|
||||||
|
|
||||||
if (!NT_SUCCESS(NtStatus))
|
if (!NT_SUCCESS(NtStatus))
|
||||||
{
|
{
|
||||||
DPRINT("NtMapViewOfSection failed: %x\n", NtStatus);
|
DPRINT1("NtMapViewOfSection failed: %x\n", NtStatus);
|
||||||
return CAB_STATUS_NOMEMORY;
|
return CAB_STATUS_NOMEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -578,7 +578,7 @@ CabinetOpen(VOID)
|
||||||
PCABHeader->FileTableOffset < sizeof(CFHEADER))
|
PCABHeader->FileTableOffset < sizeof(CFHEADER))
|
||||||
{
|
{
|
||||||
CloseCabinet();
|
CloseCabinet();
|
||||||
DPRINT("File has invalid header\n");
|
DPRINT1("File has invalid header\n");
|
||||||
return CAB_STATUS_INVALID_CAB;
|
return CAB_STATUS_INVALID_CAB;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -932,13 +932,13 @@ CabinetExtractFile(PCAB_SEARCH Search)
|
||||||
|
|
||||||
if (!NT_SUCCESS(NtStatus))
|
if (!NT_SUCCESS(NtStatus))
|
||||||
{
|
{
|
||||||
DPRINT("NtCreateFile() failed (%S) (%x)\n", DestName, NtStatus);
|
DPRINT1("NtCreateFile() failed (%S) (%x)\n", DestName, NtStatus);
|
||||||
return CAB_STATUS_CANNOT_CREATE;
|
return CAB_STATUS_CANNOT_CREATE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DPRINT("File (%S) exists\n", DestName);
|
DPRINT1("File (%S) exists\n", DestName);
|
||||||
return CAB_STATUS_FILE_EXISTS;
|
return CAB_STATUS_FILE_EXISTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -954,7 +954,7 @@ CabinetExtractFile(PCAB_SEARCH Search)
|
||||||
|
|
||||||
if (!NT_SUCCESS(NtStatus))
|
if (!NT_SUCCESS(NtStatus))
|
||||||
{
|
{
|
||||||
DPRINT("NtCreateSection failed: %x\n", NtStatus);
|
DPRINT1("NtCreateSection failed: %x\n", NtStatus);
|
||||||
Status = CAB_STATUS_NOMEMORY;
|
Status = CAB_STATUS_NOMEMORY;
|
||||||
goto CloseDestFile;
|
goto CloseDestFile;
|
||||||
}
|
}
|
||||||
|
@ -972,7 +972,7 @@ CabinetExtractFile(PCAB_SEARCH Search)
|
||||||
|
|
||||||
if (!NT_SUCCESS(NtStatus))
|
if (!NT_SUCCESS(NtStatus))
|
||||||
{
|
{
|
||||||
DPRINT("NtMapViewOfSection failed: %x\n", NtStatus);
|
DPRINT1("NtMapViewOfSection failed: %x\n", NtStatus);
|
||||||
Status = CAB_STATUS_NOMEMORY;
|
Status = CAB_STATUS_NOMEMORY;
|
||||||
goto CloseDestFileSection;
|
goto CloseDestFileSection;
|
||||||
}
|
}
|
||||||
|
@ -982,7 +982,7 @@ CabinetExtractFile(PCAB_SEARCH Search)
|
||||||
Search->File->FileTime,
|
Search->File->FileTime,
|
||||||
&FileTime))
|
&FileTime))
|
||||||
{
|
{
|
||||||
DPRINT("DosDateTimeToFileTime() failed\n");
|
DPRINT1("DosDateTimeToFileTime() failed\n");
|
||||||
Status = CAB_STATUS_CANNOT_WRITE;
|
Status = CAB_STATUS_CANNOT_WRITE;
|
||||||
goto UnmapDestFile;
|
goto UnmapDestFile;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue