🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4671

Re: Problem with DeviceIoControl() IOCTL_STORAGE_QUERY_PROPERTY

#4671
From: Kris
Date: Mon, 19 Dec 2005 13:31
35 lines
2493 bytes
Andrue,

On Fri, 16 Dec 2005 10:13:23 +0000, "Andrue Cope [TeamB]"  wrote:
>Maybe the SATA disks are being accessed in legacy mode? Does device
>manager list any SATA controllers or drivers on your system? 

I've installed the proper drivers and now the device manager correctly
lists my SATA controllers as 'nvidia nfroce 4 serial ATA controller'
(albeit they are still categorized under the 'IDE ATA/ATAPI
controllers'-branch). And when requesting the properties of the SATA
controller I can see my hard disc listed as one of the devices
connected with a transfer mode that says  'Serial ATA Generation 1 -
1.5G'.

Enumerating my SATA hard disc and getting the bustype (either with
STORAGE_DEVICE_DESCRIPTOR or STORAGE_ADAPTER_DESCRIPTOR) still reports
only ATA (STORAGE_BUS_TYPE=3) and not SATA (STORAGE_BUS_TYPE=10).

DEVICE01::DevicePath  =
\\?\ide#diskst3250823as_____________________________3.01____#2020202020202020202020204e3330444b334d56#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
DEVICE01::SptiHandle  = 0x0100
DEVICE01::BusType     = ATA (3)

I'm not actually looking to benefit from any of the features that SATA
has to offer. I'm just looking to display a correct bus type when my
application lists all the devices.

Perhaps I'm still missing something but I expected it to report a SATA
bus type in this configuration.

Thanks

---
Kris Schoofs
** Don't forget to visit http://dvd.identifier.cdfreaks.com/ ** 
Technical Details
Message-ID: <fqcdq15kqdrk5tjbu93bjtcj4qt1vj5ihm@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <8b04q11n406hs1bonf8n9586mn3of3lqm3@4ax.com> <ou86q1tiik2rplgfs7gdoo6itfdd6e9c3d@4ax.com> <43a292e6$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f7af8c8a3ab6155a
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Kris <x.y@xyz.xx>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Problem with DeviceIoControl() IOCTL_STORAGE_QUERY_PROPERTY
Date: Mon, 19 Dec 2005 14:31:45 +0100
Message-ID: <fqcdq15kqdrk5tjbu93bjtcj4qt1vj5ihm@4ax.com>
References: <8b04q11n406hs1bonf8n9586mn3of3lqm3@4ax.com> <ou86q1tiik2rplgfs7gdoo6itfdd6e9c3d@4ax.com> <43a292e6$1@newsgroups.borland.com>
X-Newsreader: Forte Free Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.11.213.88
X-Trace: newsgroups.borland.com 1134999013 81.11.213.88 (19 Dec 2005 05:30:13 -0700)
Lines: 35
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail