Diff for /xmil/win9x/dosio.h between versions 1.1 and 1.5

version 1.1, 2004/08/01 05:31:31 version 1.5, 2004/08/12 17:57:36
Line 1 Line 1
   
 #define         FILEH                           HANDLE  #define FILEH                   HANDLE
 #define         FILEH_INVALID           (INVALID_HANDLE_VALUE)  #define FILEH_INVALID   (INVALID_HANDLE_VALUE)
   
 enum {  enum {
         FSEEK_SET       = 0,          FSEEK_SET       = 0,
Line 8  enum { Line 8  enum {
         FSEEK_END       = 2          FSEEK_END       = 2
 };  };
   
   typedef struct {
           UINT16  year;           // cx
           UINT8   month;          // dh
           UINT8   day;            // dl
   } DOSDATE;
   
   typedef struct {
           UINT8   hour;           // ch
           UINT8   minute;         // cl
           UINT8   second;         // dh
   } DOSTIME;
   
   
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C" {  extern "C" {
Line 23  FILEH __stdcall file_create(const OEMCHA Line 35  FILEH __stdcall file_create(const OEMCHA
 long __stdcall file_seek(FILEH handle, long pointer, int method);  long __stdcall file_seek(FILEH handle, long pointer, int method);
 UINT __stdcall file_read(FILEH handle, void *data, UINT length);  UINT __stdcall file_read(FILEH handle, void *data, UINT length);
 UINT __stdcall file_write(FILEH handle, const void *data, UINT length);  UINT __stdcall file_write(FILEH handle, const void *data, UINT length);
 short __stdcall file_close(FILEH handle);  BRESULT __stdcall file_close(FILEH handle);
 UINT __stdcall file_getsize(FILEH handle);  UINT __stdcall file_getsize(FILEH handle);
 short __stdcall file_delete(const OEMCHAR *path);  BRESULT __stdcall file_getdatetime(FILEH handle, DOSDATE *dosdate, DOSTIME *dostime);
 short __stdcall file_attr(const OEMCHAR *path);  BRESULT __stdcall file_delete(const OEMCHAR *path);
 short __stdcall file_dircreate(const OEMCHAR *path);  SINT16 __stdcall file_attr(const OEMCHAR *path);
   BRESULT __stdcall file_dircreate(const OEMCHAR *path);
   
                                                                                         // カレントファイル操作                                                                                          // カレントファイル操作
 void __stdcall file_setcd(const OEMCHAR *exename);  void __stdcall file_setcd(const OEMCHAR *exename);
Line 35  OEMCHAR * __stdcall file_getcd(const OEM Line 48  OEMCHAR * __stdcall file_getcd(const OEM
 FILEH __stdcall file_open_c(const OEMCHAR *path);  FILEH __stdcall file_open_c(const OEMCHAR *path);
 FILEH __stdcall file_open_rb_c(const OEMCHAR *path);  FILEH __stdcall file_open_rb_c(const OEMCHAR *path);
 FILEH __stdcall file_create_c(const OEMCHAR *path);  FILEH __stdcall file_create_c(const OEMCHAR *path);
 short __stdcall file_attr_c(const OEMCHAR *path);  BRESULT __stdcall file_delete_c(const OEMCHAR *path);
   SINT16 __stdcall file_attr_c(const OEMCHAR *path);
   
 #define file_cpyname(a, b, c)   milstr_ncpy(a, b, c)  #define file_cpyname(a, b, c)   milstr_ncpy(a, b, c)
 #define file_catname(a, b, c)   milstr_ncat(a, b, c)  #define file_catname(a, b, c)   milstr_ncat(a, b, c)
 #define file_cmpname(a, b)              milstr_cmp(a, b)  #define file_cmpname(a, b)              milstr_cmp(a, b)
 OEMCHAR * __stdcall file_getname(const OEMCHAR *path);  OEMCHAR * __stdcall file_getname(const OEMCHAR *path);
 void __stdcall file_cutname(char *path);  void __stdcall file_cutname(OEMCHAR *path);
 OEMCHAR * __stdcall file_getext(const OEMCHAR *path);  OEMCHAR * __stdcall file_getext(const OEMCHAR *path);
 void __stdcall file_cutext(OEMCHAR *path);  void __stdcall file_cutext(OEMCHAR *path);
 void __stdcall file_cutseparator(OEMCHAR *path);  void __stdcall file_cutseparator(OEMCHAR *path);
 void __stdcall file_setseparator(OEMCHAR *path, int maxlen);  void __stdcall file_setseparator(OEMCHAR *path, int maxlen);
   
 // LPSTR getFileName(LPSTR filename);  
 // void cutFileName(LPSTR filename);  
 // LPSTR getExtName(LPSTR filename);  
 // void cutExtName(LPSTR filename);  
 // void cutyen(LPSTR str);  
 // void fname_mix(LPSTR str, LPSTR mix, int size);  
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }
 #endif  #endif

Removed from v.1.1  
changed lines
  Added in v.1.5


RetroPC.NET-CVS <cvs@retropc.net>