File:  [RetroPC.NET] / np2 / generic / hostdrvs.h
Revision 1.5: download - view: text, annotated - select for diffs
Thu Jan 22 10:10:04 2004 JST (21 years, 9 months ago) by yui
Branches: MAIN
CVS tags: VER_0_78, VER_0_77, VER_0_76, VER_0_75, VER_0_74, HEAD
update v0.74core (T.Yui)


typedef struct {
	char	fcbname[11];
	BYTE	exist;
	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_fhdlallclose(LISTARRAY fhdl);
HDRVFILE hostdrvs_fhdlsea(LISTARRAY fhdl);


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