- Fix calling convention of IoReadPartitionTable, IoSetPartitionInformation and IoWritePartitionTable.

svn path=/trunk/; revision=11829
This commit is contained in:
Filip Navara 2004-11-27 13:04:06 +00:00
parent aeda3e3f55
commit 0548bf639e
4 changed files with 15 additions and 15 deletions

View file

@ -1,6 +1,6 @@
#ifndef _INCLUDE_DDK_IOFUNCS_H
#define _INCLUDE_DDK_IOFUNCS_H
/* $Id: iofuncs.h,v 1.46 2004/10/31 22:21:41 ion Exp $ */
/* $Id: iofuncs.h,v 1.47 2004/11/27 13:04:05 navaraf Exp $ */
#ifdef __NTOSKRNL__
extern POBJECT_TYPE EXPORTED IoAdapterObjectType;
@ -1206,7 +1206,7 @@ IoMapTransfer (
);
NTSTATUS
STDCALL
FASTCALL
IoReadPartitionTable (
PDEVICE_OBJECT DeviceObject,
ULONG SectorSize,
@ -1215,7 +1215,7 @@ IoReadPartitionTable (
);
NTSTATUS
STDCALL
FASTCALL
IoSetPartitionInformation (
PDEVICE_OBJECT DeviceObject,
ULONG SectorSize,
@ -1224,7 +1224,7 @@ IoSetPartitionInformation (
);
NTSTATUS
STDCALL
FASTCALL
IoWritePartitionTable (
PDEVICE_OBJECT DeviceObject,
ULONG SectorSize,

View file

@ -1,4 +1,4 @@
/* $Id: parttab.c,v 1.8 2004/08/15 16:39:03 chorns Exp $
/* $Id: parttab.c,v 1.9 2004/11/27 13:04:06 navaraf Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -21,7 +21,7 @@
/*
* @implemented
*/
NTSTATUS STDCALL
NTSTATUS FASTCALL
IoReadPartitionTable(PDEVICE_OBJECT DeviceObject,
ULONG SectorSize,
BOOLEAN ReturnRecognizedPartitions,
@ -34,7 +34,7 @@ IoReadPartitionTable(PDEVICE_OBJECT DeviceObject,
}
NTSTATUS STDCALL
NTSTATUS FASTCALL
IoSetPartitionInformation(PDEVICE_OBJECT DeviceObject,
ULONG SectorSize,
ULONG PartitionNumber,
@ -47,7 +47,7 @@ IoSetPartitionInformation(PDEVICE_OBJECT DeviceObject,
}
NTSTATUS STDCALL
NTSTATUS FASTCALL
IoWritePartitionTable(PDEVICE_OBJECT DeviceObject,
ULONG SectorSize,
ULONG SectorsPerTrack,

View file

@ -1,4 +1,4 @@
; $Id: ntoskrnl.def,v 1.201 2004/11/21 16:34:57 navaraf Exp $
; $Id: ntoskrnl.def,v 1.202 2004/11/27 13:04:06 navaraf Exp $
;
; reactos/ntoskrnl/ntoskrnl.def
;
@ -429,7 +429,7 @@ IoRaiseHardError@12
IoRaiseInformationalHardError@12
IoReadDiskSignature@12
IoReadOperationCount DATA
IoReadPartitionTable@16
@IoReadPartitionTable@16
IoReadPartitionTableEx@8
IoReadTransferCount DATA
IoRegisterBootDriverReinitialization@12
@ -461,7 +461,7 @@ IoSetFileOrigin@8
IoSetHardErrorOrVerifyDevice@8
IoSetInformation@16
IoSetIoCompletion@24
IoSetPartitionInformation@16
@IoSetPartitionInformation@16
IoSetPartitionInformationEx@12
IoSetStartIoAttributes@12
IoSetShareAccess@16
@ -502,7 +502,7 @@ IoWMISuggestInstanceName@16
IoWMIWriteEvent@4
IoWriteErrorLogEntry@4
IoWriteOperationCount DATA
IoWritePartitionTable@20
@IoWritePartitionTable@20
IoWritePartitionTableEx@8
IoWriteTransferCount DATA
@IofCallDriver@8

View file

@ -61,7 +61,7 @@ ExReleaseResourceForThreadLite(
NTOSAPI
NTSTATUS
DDKAPI
DDKFASTAPI
IoReadPartitionTable(
IN PDEVICE_OBJECT DeviceObject,
IN ULONG SectorSize,
@ -70,7 +70,7 @@ IoReadPartitionTable(
NTOSAPI
NTSTATUS
DDKAPI
DDKFASTAPI
IoSetPartitionInformation(
IN PDEVICE_OBJECT DeviceObject,
IN ULONG SectorSize,
@ -79,7 +79,7 @@ IoSetPartitionInformation(
NTOSAPI
NTSTATUS
DDKAPI
DDKFASTAPI
IoWritePartitionTable(
IN PDEVICE_OBJECT DeviceObject,
IN ULONG SectorSize,