форматирование Floppy применяя IOCTL для Win_NT и Win_98
06.01.03 15:14: Перенесено из 'C/C++' в WinAPI. — ХД
Hello, LAN!
для 9х есть наметки в
http://codeguru.earthweb.com/system/ReadSector
для НТ:
[msdn]
[This is preliminary documentation and subject to change.]
The FORMAT_PARAMETERS structure is used in conjunction with the IOCTL_DISK_FORMAT_TRACKS request to format the specified set of contiguous tracks on the disk.
typedef struct _FORMAT_PARAMETERS {
MEDIA_TYPE MediaType;
ULONG StartCylinderNumber;
ULONG EndCylinderNumber;
ULONG StartHeadNumber;
ULONG EndHeadNumber;
} FORMAT_PARAMETERS, *PFORMAT_PARAMETERS;The FORMAT_EX_PARAMETERS structure is used in conjunction with the IOCTL_DISK_FORMAT_TRACKS_EX request to format the specified set of contiguous tracks on the disk. typedef struct _FORMAT_EX_PARAMETERS {
MEDIA_TYPE MediaType;
ULONG StartCylinderNumber;
ULONG EndCylinderNumber;
ULONG StartHeadNumber;
ULONG EndHeadNumber;
USHORT FormatGapLength;
USHORT SectorsPerTrack;
USHORT SectorNumber[1];
} FORMAT_EX_PARAMETERS, *PFORMAT_EX_PARAMETERS;[Sorry, skipped]
Headers
Declared in ntdddisk.h. Include ntdddisk.h.
[/msdn]
You wrote on Mon, 06 Jan 2003 11:58:07 GMT:
L> From: LAN Оценить
L> форматирование Floppy применяя IOCTL для Win_NT и Win_98
L> 06.01.03 15:14: Перенесено из 'C/C++' в WinAPI. — ХД
With best regards, Valery A. Boronin. E-mail: boronin@novosoft.ru
Posted via RSDN NNTP Server 1.4.1