Reiner
Wed Apr 27 10:19:45 CDT 2005
Bob,
the Code I'm written is in "unmanaged" C++
(although more C than ++ *grin*)
and it's only pertinent to ATA-Disks!
Are you're still interested?
regards
Reiner
----------------------------------------------------------------------------
---
"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> schrieb im Newsbeitrag
news:#8L6XPzSFHA.584@TK2MSFTNGP15.phx.gbl...
> I'd like to see that code. Can you post it here?
>
> --
> Bob Powell [MVP]
> Visual C#, System.Drawing
>
> Find great Windows Forms articles in Windows Forms Tips and Tricks
>
http://www.bobpowell.net/tipstricks.htm
>
> Answer those GDI+ questions with the GDI+ FAQ
>
http://www.bobpowell.net/faqmain.htm
>
> All new articles provide code in C# and VB.NET.
> Subscribe to the RSS feeds provided and never miss a new article.
>
>
>
>
>
> "Reiner Ziegler" <Reiner.Ziegler@mail.regio.net> wrote in message
> news:eBwyUMxSFHA.3144@TK2MSFTNGP09.phx.gbl...
> > Hi,
> >
> > you can send an "IOCTL_SCSI_PASS_THROUGH_DIRECT" Command
> > with an ATA-RegisterFile or SRB setup for an "Identify Drive" Command.
> > The Output-Buffer of this IOCTL contains a 512-Byte-Sector with the
> > configuration Data.
> > I can provide you (if you want this) with some sample-code that has
worked
> > for me.
> >
> > regards
> >
> > Reiner
> >
> > "Tayyab" <tayyab.ali@gmail.com> schrieb im Newsbeitrag
> > news:c9db2f4f.0504260551.40ed7fef@posting.google.com...
> >> Hi, If you understand the subject of my post that means you would know
> >> why i want this. Please dont give me the code for Volume number as i
> >> am talking about manufacturer serial number. I am working on C# and I
> >> know about win32_PhysicalMedia to retrieve the manufacturer serial
> >> number but that does not work for Win 2000 and I want something that
> >> works for Win 2000. Even if there is no solution in C# but you have
> >> something in C or J# that could help me that would be great too. Again
> >> please dont refer me to DiskId32 to get serial number as I have
> >> already spent alot of time trying to invoke it from C# , I tried
> >> wrapping procedures, but that does not work. So please I really need
> >> help and await a reasonable response from some genie out there.
> >
> >
>
>