Something went wrong. Try again.
Reactos
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576/* * PROJECT: ReactOS HAL * LICENSE: BSD - See COPYING.ARM in the top level directory * FILE: hal/halarm/generic/drive.c * PURPOSE: HAL Stubs for Disk I/O Routines * PROGRAMMERS: ReactOS Portable Systems Group */
/* INCLUDES ******************************************************************/
#include <hal.h>#define NDEBUG#include <debug.h>
/* FUNCTIONS *****************************************************************/
VOIDNTAPIHalpAssignDriveLetters(IN struct _LOADER_PARAMETER_BLOCK *LoaderBlock, IN PSTRING NtDeviceName, OUT PUCHAR NtSystemPath, OUT PSTRING NtSystemPathString){ /* Call the kernel */ IoAssignDriveLetters(LoaderBlock, NtDeviceName, NtSystemPath, NtSystemPathString);}
NTSTATUSNTAPIHalpReadPartitionTable(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN BOOLEAN ReturnRecognizedPartitions, IN OUT PDRIVE_LAYOUT_INFORMATION *PartitionBuffer){ /* Call the kernel */ return IoReadPartitionTable(DeviceObject, SectorSize, ReturnRecognizedPartitions, PartitionBuffer);}
NTSTATUSNTAPIHalpWritePartitionTable(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN ULONG SectorsPerTrack, IN ULONG NumberOfHeads, IN PDRIVE_LAYOUT_INFORMATION PartitionBuffer){ /* Call the kernel */ return IoWritePartitionTable(DeviceObject, SectorSize, SectorsPerTrack, NumberOfHeads, PartitionBuffer);}
NTSTATUSNTAPIHalpSetPartitionInformation(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN ULONG PartitionNumber, IN ULONG PartitionType){ /* Call the kernel */ return IoSetPartitionInformation(DeviceObject, SectorSize, PartitionNumber, PartitionType);}
/* EOF */