Path: 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 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;