File:  [RetroPC.NET] / np2 / generic / hostdrvs.h
Revision 1.4: download - view: text, annotated - select for diffs
Mon Jan 12 17:01:00 2004 JST (21 years, 9 months ago) by yui
Branches: MAIN
CVS tags: VER_0_73, HEAD
fix dosio (Win) (T.Yui)


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);


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