Fix the export of HalExamineMBR. It mustn't be aliased since we need to have it named correctly in the import library.

svn path=/trunk/; revision=15994
This commit is contained in:
Filip Navara 2005-06-17 17:14:57 +00:00
parent b4a5cd914f
commit 580b785a18
3 changed files with 36 additions and 35 deletions

View file

@ -5,8 +5,9 @@ NTSTATUS
xHalQueryDriveLayout(IN PUNICODE_STRING DeviceName,
OUT PDRIVE_LAYOUT_INFORMATION *LayoutInfo);
#undef HalExamineMBR
VOID FASTCALL
xHalExamineMBR(IN PDEVICE_OBJECT DeviceObject,
HalExamineMBR(IN PDEVICE_OBJECT DeviceObject,
IN ULONG SectorSize,
IN ULONG MBRTypeIdentifier,
OUT PVOID *Buffer);

View file

@ -65,7 +65,7 @@ HAL_DISPATCH EXPORTED HalDispatchTable =
(pHalSetSystemInformation) NULL, // HalSetSystemInformation
(pHalQueryBusSlots) NULL, // HalQueryBusSlots
0,
(pHalExamineMBR) xHalExamineMBR,
(pHalExamineMBR) HalExamineMBR,
(pHalIoAssignDriveLetters) xHalIoAssignDriveLetters,
(pHalIoReadPartitionTable) xHalIoReadPartitionTable,
(pHalIoSetPartitionInformation) xHalIoSetPartitionInformation,
@ -302,7 +302,7 @@ xHalpWriteSector (IN PDEVICE_OBJECT DeviceObject,
VOID FASTCALL
xHalExamineMBR(IN PDEVICE_OBJECT DeviceObject,
HalExamineMBR(IN PDEVICE_OBJECT DeviceObject,
IN ULONG SectorSize,
IN ULONG MBRTypeIdentifier,
OUT PVOID *Buffer)
@ -311,7 +311,7 @@ xHalExamineMBR(IN PDEVICE_OBJECT DeviceObject,
PPARTITION_SECTOR Sector;
NTSTATUS Status;
DPRINT("xHalExamineMBR()\n");
DPRINT("HalExamineMBR()\n");
*Buffer = NULL;
@ -760,7 +760,7 @@ xHalIoReadPartitionTable(PDEVICE_OBJECT DeviceObject,
SectorSize = 4096;
/* Check for 'Ontrack Disk Manager' */
xHalExamineMBR(DeviceObject,
HalExamineMBR(DeviceObject,
SectorSize,
0x54,
&MbrBuffer);
@ -772,7 +772,7 @@ xHalIoReadPartitionTable(PDEVICE_OBJECT DeviceObject,
}
/* Check for 'EZ-Drive' */
xHalExamineMBR(DeviceObject,
HalExamineMBR(DeviceObject,
SectorSize,
0x55,
&MbrBuffer);
@ -1012,7 +1012,7 @@ xHalIoSetPartitionInformation(IN PDEVICE_OBJECT DeviceObject,
SectorSize = 4096;
/* Check for 'Ontrack Disk Manager' */
xHalExamineMBR (DeviceObject,
HalExamineMBR (DeviceObject,
SectorSize,
0x54,
(PVOID*)(PVOID)&PartitionSector);
@ -1024,7 +1024,7 @@ xHalIoSetPartitionInformation(IN PDEVICE_OBJECT DeviceObject,
}
/* Check for 'EZ-Drive' */
xHalExamineMBR (DeviceObject,
HalExamineMBR (DeviceObject,
SectorSize,
0x55,
(PVOID*)(PVOID)&PartitionSector);
@ -1224,7 +1224,7 @@ xHalIoWritePartitionTable(IN PDEVICE_OBJECT DeviceObject,
SectorSize = 4096;
/* Check for 'Ontrack Disk Manager' */
xHalExamineMBR (DeviceObject,
HalExamineMBR (DeviceObject,
SectorSize,
0x54,
(PVOID*)(PVOID)&PartitionSector);
@ -1236,7 +1236,7 @@ xHalIoWritePartitionTable(IN PDEVICE_OBJECT DeviceObject,
}
/* Check for 'EZ-Drive' */
xHalExamineMBR (DeviceObject,
HalExamineMBR (DeviceObject,
SectorSize,
0x55,
(PVOID*)(PVOID)&PartitionSector);

View file

@ -275,7 +275,7 @@ FsRtlUninitializeMcb@4
FsRtlUninitializeOplock@4
HalDispatchTable DATA
HalPrivateDispatchTable DATA
@HalExamineMBR=@xHalExamineMBR@16
@HalExamineMBR@16
InbvAcquireDisplayOwnership@0
InbvCheckDisplayOwnership@0
InbvDisplayString@4