Diff for /np2/win9xc/dosio.h between versions 1.4 and 1.6

version 1.4, 2004/01/27 10:55:47 version 1.6, 2005/03/20 08:58:20
Line 1 Line 1
   
   #define DOSIOCALL       __stdcall
   
 #define         FILEH                           HANDLE  #define         FILEH                           HANDLE
 #define         FILEH_INVALID           (INVALID_HANDLE_VALUE)  #define         FILEH_INVALID           (INVALID_HANDLE_VALUE)
   
Line 45  typedef struct { Line 47  typedef struct {
         UINT32  attr;          UINT32  attr;
         DOSDATE date;          DOSDATE date;
         DOSTIME time;          DOSTIME time;
         char    path[MAX_PATH];          TCHAR   path[MAX_PATH];
 } FLINFO;  } FLINFO;
   
   
Line 57  extern "C" { Line 59  extern "C" {
 void dosio_init(void);  void dosio_init(void);
 void dosio_term(void);  void dosio_term(void);
                                                                                         // ファイル操作                                                                                          // ファイル操作
 FILEH file_open(const char *path);  FILEH DOSIOCALL file_open(const TCHAR *path);
 FILEH file_open_rb(const char *path);  FILEH DOSIOCALL file_open_rb(const TCHAR *path);
 FILEH file_create(const char *path);  FILEH DOSIOCALL file_create(const TCHAR *path);
 long file_seek(FILEH handle, long pointer, int method);  long DOSIOCALL file_seek(FILEH handle, long pointer, int method);
 UINT file_read(FILEH handle, void *data, UINT length);  UINT DOSIOCALL file_read(FILEH handle, void *data, UINT length);
 UINT file_write(FILEH handle, const void *data, UINT length);  UINT DOSIOCALL file_write(FILEH handle, const void *data, UINT length);
 short file_close(FILEH handle);  short DOSIOCALL file_close(FILEH handle);
 UINT file_getsize(FILEH handle);  UINT DOSIOCALL file_getsize(FILEH handle);
 short file_getdatetime(FILEH handle, DOSDATE *dosdate, DOSTIME *dostime);  short DOSIOCALL file_getdatetime(FILEH handle, DOSDATE *dosdate, DOSTIME *dostime);
 short file_delete(const char *path);  short DOSIOCALL file_delete(const TCHAR *path);
 short file_attr(const char *path);  short DOSIOCALL file_attr(const TCHAR *path);
 short file_dircreate(const char *path);  short DOSIOCALL file_dircreate(const TCHAR *path);
   
                                                                                         // カレントファイル操作                                                                                          // カレントファイル操作
 void file_setcd(const char *exepath);  void DOSIOCALL file_setcd(const TCHAR *exepath);
 char *file_getcd(const char *path);  TCHAR * DOSIOCALL file_getcd(const TCHAR *path);
 FILEH file_open_c(const char *path);  FILEH DOSIOCALL file_open_c(const TCHAR *path);
 FILEH file_open_rb_c(const char *path);  FILEH DOSIOCALL file_open_rb_c(const TCHAR *path);
 FILEH file_create_c(const char *path);  FILEH DOSIOCALL file_create_c(const TCHAR *path);
 short file_delete_c(const char *path);  short DOSIOCALL file_delete_c(const TCHAR *path);
 short file_attr_c(const char *path);  short DOSIOCALL file_attr_c(const TCHAR *path);
   
 FLISTH file_list1st(const char *dir, FLINFO *fli);  FLISTH DOSIOCALL file_list1st(const TCHAR *dir, FLINFO *fli);
 BOOL file_listnext(FLISTH hdl, FLINFO *fli);  BRESULT DOSIOCALL file_listnext(FLISTH hdl, FLINFO *fli);
 void file_listclose(FLISTH hdl);  void DOSIOCALL file_listclose(FLISTH hdl);
   
 #define file_cpyname(a, b, c)   milsjis_ncpy(a, b, c)  #define file_cpyname(a, b, c)   milstr_ncpy(a, b, c)
 #define file_catname(a, b, c)   milsjis_ncat(a, b, c)  #define file_catname(a, b, c)   milstr_ncat(a, b, c)
 #define file_cmpname(a, b)              milsjis_cmp(a, b)  #define file_cmpname(a, b)              milstr_cmp(a, b)
 char *file_getname(char *path);  TCHAR * DOSIOCALL file_getname(const TCHAR *path);
 void file_cutname(char *path);  void DOSIOCALL file_cutname(TCHAR *path);
 char *file_getext(char *path);  TCHAR * DOSIOCALL file_getext(const TCHAR *path);
 void file_cutext(char *path);  void DOSIOCALL file_cutext(TCHAR *path);
 void file_cutseparator(char *path);  void DOSIOCALL file_cutseparator(TCHAR *path);
 void file_setseparator(char *path, int maxlen);  void DOSIOCALL file_setseparator(TCHAR *path, int maxlen);
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }
 #endif  #endif
   
   #define file_createex(p, t)             file_create(p)
   #define file_createex_c(p, t)   file_create_c(p)
   

Removed from v.1.4  
changed lines
  Added in v.1.6


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