|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
FAT32 Information
hello guys i'm new with this message board
i've one program that gets the fat32 info see this #include<dos.h> struct fatinformation { /* 63 bytes of structure */ }; main() { struct fatinformation fat32; union REGS regs; struct SREGS s; s.es = FP_SEG(&fat32); regs.x.di = FP_OFF(&fat32); regs.x.ax = /* function */ regs.h.dl = /* drive */ regs.x.si = /* pointer DPB */ intdosx(&s, &s, &s); if((regs.h.cf)!= 0) printf("fail....\n"); else printf("success...\n"); } output: success..... this program works fine, but i'm getting wrong information in structure fat32 any one have idea of this |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > FAT32 Information |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|