
June 9th, 2003, 12:48 PM
|
|
Registered User
|
|
Join Date: Jun 2003
Posts: 21
Time spent in forums: 1 h 30 m 51 sec
Reputation Power: 0
|
|
|
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
|