[FORMATTING] Fix formatting, no code change

svn path=/trunk/; revision=31202
This commit is contained in:
Hervé Poussineau 2007-12-13 17:23:03 +00:00
parent 44083c8d46
commit 7c69396b36

View file

@ -51,7 +51,7 @@ static NTSTATUS
HalpXboxReadSector(IN PDEVICE_OBJECT DeviceObject,
IN ULONG SectorSize,
IN PLARGE_INTEGER SectorOffset,
IN PVOID Sector)
OUT PVOID Sector)
{
IO_STATUS_BLOCK StatusBlock;
KEVENT Event;
@ -91,8 +91,7 @@ HalpXboxReadSector(IN PDEVICE_OBJECT DeviceObject,
if (!NT_SUCCESS(Status))
{
DPRINT("Reading sector failed (Status 0x%08lx)\n",
Status);
DPRINT("Reading sector failed (Status 0x%08lx)\n", Status);
return Status;
}
@ -100,9 +99,9 @@ HalpXboxReadSector(IN PDEVICE_OBJECT DeviceObject,
}
static NTSTATUS FASTCALL
HalpXboxDeviceHasXboxPartitioning(PDEVICE_OBJECT DeviceObject,
ULONG SectorSize,
BOOLEAN *HasXboxPartitioning)
HalpXboxDeviceHasXboxPartitioning(IN PDEVICE_OBJECT DeviceObject,
IN ULONG SectorSize,
OUT BOOLEAN *HasXboxPartitioning)
{
PVOID SectorData;
LARGE_INTEGER Offset;
@ -114,7 +113,7 @@ HalpXboxDeviceHasXboxPartitioning(PDEVICE_OBJECT DeviceObject,
HasXboxPartitioning);
SectorData = ExAllocatePool(PagedPool, SectorSize);
if (NULL == SectorData)
if (!SectorData)
{
return STATUS_NO_MEMORY;
}
@ -170,14 +169,14 @@ HalpXboxExamineMBR(IN PDEVICE_OBJECT DeviceObject,
}
static NTSTATUS FASTCALL
HalpXboxIoReadPartitionTable(PDEVICE_OBJECT DeviceObject,
ULONG SectorSize,
BOOLEAN ReturnRecognizedPartitions,
PDRIVE_LAYOUT_INFORMATION *PartitionBuffer)
HalpXboxIoReadPartitionTable(IN PDEVICE_OBJECT DeviceObject,
IN ULONG SectorSize,
IN BOOLEAN ReturnRecognizedPartitions,
OUT PDRIVE_LAYOUT_INFORMATION *PartitionBuffer)
{
BOOLEAN HasXboxPartitioning;
NTSTATUS Status;
unsigned Part;
ULONG Part;
PPARTITION_INFORMATION PartInfo;
DPRINT("HalpXboxIoReadPartitionTable(%p %lu %x %p)\n",