home *** CD-ROM | disk | FTP | other *** search
Wrap
@DATABASE "pDOS/IOStruct.h" @MASTER "Work2:AD/IInc/pDOS/IOStruct.h" @REMARK This file was created by ADtoHT 2.0 on 11-Mär-97 13:34:08 @REMARK Do not edit @REMARK ADtoHT is © 1993-1995 Christian Stieber @NODE MAIN "pDOS/IOStruct.h" @TOC "__pOS_Dev.guide/MAIN" @{"pDOS/IOStruct.h" LINK File} @{b}Structures@{ub} @{"pOS_IOStruct" LINK "pDOS/IOStruct.h/File" 18} @{b}#defines@{ub} @{"_IOSTEXAMINE()" LINK "pDOS/IOStruct.h/File" 37} @{"_IOSTFLUSH()" LINK "pDOS/IOStruct.h/File" 38} @{"_IOSTREAD()" LINK "pDOS/IOStruct.h/File" 34} @{"_IOSTSEEK()" LINK "pDOS/IOStruct.h/File" 36} @{"_IOSTWRITE()" LINK "pDOS/IOStruct.h/File" 35} @ENDNODE @NODE File "pDOS/IOStruct.h" #ifndef __INC_POS_PDOS_IOSTRUCT_H #define __INC_POS_PDOS_IOSTRUCT_H /******************************************************************* Includes Release 24 (C) Copyright 1995-1997 proDAD All Rights Reserved $AUT Holger Burkarth $DAT >>IOStruct.h<< 23 Jan 1997 14:35:29 - (C) ProDAD *******************************************************************/ #ifndef __INC_POS_PDOS_DOSTYPES_H #include <@{"pDOS/DosTypes.h" LINK "pDOS/DosTypes.h/File"}> #endif /*---------------------------------- -----------------------------------*/ struct pOS_IOStruct { @{"UWORD" LINK "pExec/Types.h/File" 93} iost_StructSize; @{"ULONG" LINK "pExec/Types.h/File" 91} iost_UserData[2]; @{"UBYTE" LINK "pExec/Types.h/File" 95} iost_Reserved[16]; @{"dossize_t" LINK "pDOS/DosTypes.h/File" 15} (*iost_Read_func) (@{"_R_A0" LINK "pExec/Types.h/File" 28} struct pOS_IOStruct*,_R_A1 VOID* buf,_R_D0 dossize_t size); @{"dossize_t" LINK "pDOS/DosTypes.h/File" 15} (*iost_Write_func) (@{"_R_A0" LINK "pExec/Types.h/File" 28} struct pOS_IOStruct*,_R_A1 const VOID* buf,_R_D0 dossize_t size); @{"dospos_t" LINK "pDOS/DosTypes.h/File" 17} (*iost_Seek_func) (@{"_R_A0" LINK "pExec/Types.h/File" 28} struct pOS_IOStruct*,_R_D0 dospos_t pos,_R_D1 ULONG mode); @{"BOOL" LINK "pExec/Types.h/File" 99} (*iost_Examine_func)(@{"_R_A0" LINK "pExec/Types.h/File" 28} struct pOS_IOStruct*,_R_A1 struct pOS_FileInfoBlock*); @{"BOOL" LINK "pExec/Types.h/File" 99} (*iost_Flush_func) (@{"_R_A0" LINK "pExec/Types.h/File" 28} struct pOS_IOStruct*); @{"ULONG" LINK "pExec/Types.h/File" 91} (*iost_Reserved_func[8])(@{"_R_A0" LINK "pExec/Types.h/File" 28} struct pOS_IOStruct*); }; #define _IOSTREAD(io,buf,size) ( (io)->iost_Read_func(io,buf,size) ) #define _IOSTWRITE(io,buf,size) ( (io)->iost_Write_func(io,buf,size) ) #define _IOSTSEEK(io,pos,mode) ( (io)->iost_Seek_func(io,pos,mode) ) #define _IOSTEXAMINE(io,fib) ( (io)->iost_Examine_func(io,fib) ) #define _IOSTFLUSH(io) ( (io)->iost_Flush_func(io) ) #endif @ENDNODE