I have a problem when I get hard disk serial!

I use 0xEC command to get hard disk serial in vxd driver,it’s return is
right when my hard disk is in IDE0 MASTER!But it’s return may be(not must
be^V^) error when my hard disk is in IDE0 SLAVE.
I want to know whether you can get hard disk serial very steady or not…
How can i get hard disk serial steadily!

What does VxD have to do with NT?

“777” wrote in message news:xxxxx@ntdev…
>
> I use 0xEC command to get hard disk serial in vxd driver,it’s return
is
> right when my hard disk is in IDE0 MASTER!But it’s return may be(not
must
> be^V^) error when my hard disk is in IDE0 SLAVE.
> I want to know whether you can get hard disk serial very steady or
not…
> How can i get hard disk serial steadily!
>
>
>
>

IOCTL_SCSI_MINIPORT/SMART_RCV_DRIVE_DATA will return you the IDENTIFY data
for a disk.
Works for old disks without SMART too - the IOCTL is just misnamed.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “777”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Thursday, December 25, 2003 5:37 AM
Subject: [ntdev] I have a problem when I get hard disk serial!

> I use 0xEC command to get hard disk serial in vxd driver,it’s return is
> right when my hard disk is in IDE0 MASTER!But it’s return may be(not must
> be^V^) error when my hard disk is in IDE0 SLAVE.
> I want to know whether you can get hard disk serial very steady or not…
> How can i get hard disk serial steadily!
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com