hard disk drive Serial ID no.

hard disk drive Serial ID no.

Post by Yogesh Kuma » Tue, 12 Nov 2002 17:24:22



I am working on to find the Serial ID no. of the hard
drive of the system.I am using CreateFile and
DeviceIOControl functionsi n combinations with the Control
commands.It is wroking fine for IDE but on a machine
having SCSI it is giving following result:
-----------------------------------------------------------
------------
"SiteCG.exe--Drive Not Ready
 Tha drive is not ready for use: Its door may be
open.Please check drive
\Device\harddisk0\partition0 and make sure the disk is
inserted and that the drive door is closed."
-----------------------------------------------------------
------------