From: Ashish on 17 Feb 2010 09:14 Please send the code. Either attach the code here or send to my mail id. My id is mayank_ua(a)rediffmail.com "Kerem G�mr�kc�" <kareem114(a)hotmail.com> wrote in message news:e8HKsC8rKHA.3944(a)TK2MSFTNGP06.phx.gbl... > 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... >> >>
First
|
Prev
|
Pages: 1 2 Prev: forum post test only - ignore Next: Collapse / Expand formula bar button from Excel |