From: Ashish on 17 Feb 2010 04:30 How to get the hard disk serial number and model number using winioctl (deviceiocontrol). Also how to know any disk is hard disk or usb drive
From: Kerem Gümrükcü on 17 Feb 2010 05:29 Hi, > How to get the hard disk serial number and model number using winioctl > (deviceiocontrol). This is one option: http://msdn.microsoft.com/en-us/library/aa394346%28VS.85%29.aspx > Also how to know any disk is hard disk or usb drive Read this very carefully! http://msdn.microsoft.com/en-us/library/aa364939%28VS.85%29.aspx Regards K. -- ----------------------- Beste Gr�sse / Best regards / Votre bien devoue Kerem G�mr�kc� Latest Project: http://www.pro-it-education.de/software/deviceremover Latest Open-Source Projects: http://entwicklung.junetz.de ----------------------- "Ashish" <akohli_2004(a)hotmail.com> schrieb im Newsbeitrag news:OEwleQ7rKHA.5116(a)TK2MSFTNGP04.phx.gbl...
From: Ashish on 17 Feb 2010 05:49 Thanks. About second query t know if any disk is physical disk or usb drive, I want to know it though disk (not through drive). SUppose PHYSICALDISK0 is hadr disk and PHYSICALDISK1 is usb drive. There is one more way. Hard disk contains MBR information while USB drive does n ot contain it. Is there any API which tell whether any disk contains MBR information or not. "Kerem G�mr�kc�" <kareem114(a)hotmail.com> wrote in message news:uq$DTw7rKHA.3968(a)TK2MSFTNGP02.phx.gbl... > Hi, > >> How to get the hard disk serial number and model number using winioctl >> (deviceiocontrol). > > This is one option: > http://msdn.microsoft.com/en-us/library/aa394346%28VS.85%29.aspx > > >> Also how to know any disk is hard disk or usb drive > > Read this very carefully! > http://msdn.microsoft.com/en-us/library/aa364939%28VS.85%29.aspx > > Regards > > K. > > -- > ----------------------- > Beste Gr�sse / Best regards / Votre bien devoue > Kerem G�mr�kc� > Latest Project: http://www.pro-it-education.de/software/deviceremover > Latest Open-Source Projects: http://entwicklung.junetz.de > ----------------------- > > "Ashish" <akohli_2004(a)hotmail.com> schrieb im Newsbeitrag > news:OEwleQ7rKHA.5116(a)TK2MSFTNGP04.phx.gbl...
From: Kerem Gümrükcü on 17 Feb 2010 06:00 Hi again, > Is there any API which tell whether any disk contains MBR information or > not. yes, there is also a api/ioctl for that: IOCTL_DISK_GET_PARTITION_INFO IOCTL_DISK_GET_PARTITION_INFO_EX (this one!) I have ready to go (GPL) code if you like. Drop me a line ill send you the source,... Regards Kerem -- ----------------------- Beste Gr�sse / Best regards / Votre bien devoue Kerem G�mr�kc� Latest Project: http://www.pro-it-education.de/software/deviceremover Latest Open-Source Projects: http://entwicklung.junetz.de ----------------------- "Ashish" <akohli_2004(a)hotmail.com> schrieb im Newsbeitrag news:OZUvh87rKHA.6004(a)TK2MSFTNGP04.phx.gbl... > Thanks. > About second query t know if any disk is physical disk or usb drive, I > want to know it though disk (not through drive). > SUppose PHYSICALDISK0 is hadr disk and PHYSICALDISK1 is usb drive. > There is one more way. Hard disk contains MBR information while USB drive > does n ot contain it. Is there any API which tell whether any disk > contains MBR information or not. > "Kerem G�mr�kc�" <kareem114(a)hotmail.com> wrote in message > news:uq$DTw7rKHA.3968(a)TK2MSFTNGP02.phx.gbl... >> Hi, >> >>> How to get the hard disk serial number and model number using winioctl >>> (deviceiocontrol). >> >> This is one option: >> http://msdn.microsoft.com/en-us/library/aa394346%28VS.85%29.aspx >> >> >>> Also how to know any disk is hard disk or usb drive >> >> Read this very carefully! >> http://msdn.microsoft.com/en-us/library/aa364939%28VS.85%29.aspx >> >> Regards >> >> K. >> >> -- >> ----------------------- >> Beste Gr�sse / Best regards / Votre bien devoue >> Kerem G�mr�kc� >> Latest Project: http://www.pro-it-education.de/software/deviceremover >> Latest Open-Source Projects: http://entwicklung.junetz.de >> ----------------------- >> >> "Ashish" <akohli_2004(a)hotmail.com> schrieb im Newsbeitrag >> news:OEwleQ7rKHA.5116(a)TK2MSFTNGP04.phx.gbl... > >
From: Christoph Conrad on 17 Feb 2010 07:10 Hi Kerem, > I have ready to go (GPL) code if you like. Drop me a line ill send you > the source,... There is also some code at <http://www.winsim.com/diskid32/diskid32.cpp>. Regards, Christoph btw. please send me your code too (see Reply-To address)
|
Next
|
Last
Pages: 1 2 Prev: forum post test only - ignore Next: Collapse / Expand formula bar button from Excel |