by tas3086 » Wed May 04, 2016 8:51 am
n=0
h=gethdinfo(n,1)
while h
printl("")
printl("--------------DISK: ", h.num," -----------------------------------")
printl("Disk HDNum :", h.num)
printl("BIOSHDNUM :", h.BIOSHDNUM)
printl("NT Disk Sig :", hex(h.sig))
printl("GPT GUID :", hex(h.GUID))
printl("NAME :", h.NAME)
printl("Secsize :", h.secsize)
printl("Sectors :", h.size)
printl("Embr :", hex(h.embr))
printl("OutOfSync :", hex(h.OutOfSync))
printl("GPT :", h.gpt)
printl("GPT guid :", h.guid)
printl("Bus :", h.bus)
printl("c :", h.c)
printl("h :", h.h)
printl("s :", h.s)
pn=1
while h.partition[pn]
printl("--------------DISK: ", h.num," --- PARTITION: ", h.partition[pn].name)
.....
Changed while h to while h<=15 and things are working fine now. Thanks for the hint.