--- np2/generic/hostdrvs.h 2004/01/09 04:36:02 1.1 +++ np2/generic/hostdrvs.h 2004/01/12 08:01:00 1.4 @@ -1,12 +1,37 @@ +typedef struct { + char fcbname[12]; + UINT caps; + UINT32 size; + UINT32 attr; + DOSDATE date; + DOSTIME time; +} HDRVDIR; + +typedef struct { + HDRVDIR di; + char realname[MAX_PATH]; +} _HDRVLST, *HDRVLST; + +typedef struct { + HDRVDIR di; + char path[MAX_PATH]; +} HDRVPATH; + + // 一覧取得 LISTARRAY hostdrvs_getpathlist(const char *realpath); +// ホスト側のフォルダを得る +BOOL hostdrvs_getrealdir(char *path, int size, char *fcb, char *dospath); + // ホスト側のファイル名を得る BOOL hostdrvs_getrealpath(HDRVPATH *hdp, char *dospath); +// ホスト側のファイル名を作る +BOOL hostdrvs_newrealpath(HDRVPATH *hdp, char *dospath); - +// ファイルハンドルリスト void hostdrvs_fhdlreopen(LISTARRAY fhdl); void hostdrvs_fhdlallclose(LISTARRAY fhdl); HDRVFILE hostdrvs_fhdlsea(LISTARRAY fhdl);