File:  [RetroPC.NET] / np2 / win9x / extromio.h
Revision 1.1: download - view: text, annotated - select for diffs
Fri Oct 17 02:58:43 2003 JST (22 years ago) by yui
Branches: MAIN
CVS tags: HEAD
Initial revision


typedef struct {
	UINT	type;
	void	*fh;
	long	pos;
	UINT	size;
} _EXTROMH, *EXTROMH;


enum {
	ERSEEK_SET		= 0,
	ERSEEK_CUR		= 1,
	ERSEEK_END
};

enum {
	EXTROMIO_FILE	= 0,
	EXTROMIO_RES	= 1
};


#ifdef __cplusplus
extern "C" {
#endif

EXTROMH extromio_open(const char *filename, UINT type);
UINT extromio_read(EXTROMH erh, void *buf, UINT size);
long extromio_seek(EXTROMH erh, long pos, int mothod);
void extromio_close(EXTROMH erh);

#ifdef __cplusplus
}
#endif


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