Article View: comp.os.os2
Article #321Bug in bsedev.h
From: Kai-Uwe Rommel
Date: Mon, 11 Dec 1989 10:03
Date: Mon, 11 Dec 1989 10:03
28 lines
1395 bytes
1395 bytes
I found an error in the BSEDEV.H of the SDK. In the structure
BIOSPARAMETERBLOCK a reserved field is missing (in comparison to the
documentation).
Kai Uwe Rommel,
Munich
/* Error in BSEDEV.H */
typedef struct _BIOSPARAMETERBLOCK { /* bspblk */
USHORT usBytesPerSector;
BYTE bSectorsPerCluster;
USHORT usReservedSectors;
BYTE cFATs;
USHORT cRootEntries;
USHORT cSectors;
BYTE bMedia;
USHORT usSectorsPerFAT;
USHORT usSectorsPerTrack;
USHORT cHeads;
ULONG cHiddenSectors;
ULONG cLargeSectors;
BYTE abReserved[6]; /* this field is missing in the original file */
USHORT cCylinders;
BYTE bDeviceType;
USHORT fsDeviceAttr;
} BIOSPARAMETERBLOCK;
typedef BIOSPARAMETERBLOCK FAR *PBIOSPARAMETERBLOCK;
Technical Details
Message-ID:
<964@tuminfo1.lan.informatik.tu-muenchen.dbp.de>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!cica!iuvax!purdue!bu-cs!bloom-beacon!eru!luth!sunic!mcsun!unido!fauern!lan!rommelShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!cica!iuvax!purdue!bu-cs!bloom-beacon!eru!luth!sunic!mcsun!unido!fauern!lan!rommel From: rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel) Newsgroups: comp.os.os2 Subject: Bug in bsedev.h Message-ID: <964@tuminfo1.lan.informatik.tu-muenchen.dbp.de> Date: 11 Dec 89 10:03:38 GMT Sender: news@lan.informatik.tu-muenchen.dbp.de Reply-To: rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel) Distribution: comp.os.os2 Organization: Inst. fuer Informatik, TU Muenchen, W. Germany Lines: 28