File:  [RetroPC.NET] / np2 / codecnv / textcnv.h
Revision 1.1: download - view: text, annotated - select for diffs
Sun Mar 20 03:54:57 2005 JST (20 years, 7 months ago) by yui
Branches: MAIN
CVS tags: HEAD
fix text file reader (T.Yui)


// テキストファイルの変換ルール

enum {
	TEXTCNV_DEFAULT	= 0,
	TEXTCNV_SJIS	= 1,
	TEXTCNV_EUC		= 2,
	TEXTCNV_UFT8	= 3,
	TEXTCNV_UCS2	= 4
};

typedef UINT (*TCTOOEM)(OEMCHAR *dst, UINT dcnt, const void *src, UINT scnt);
typedef UINT (*TCFROMOEM)(void *dst, UINT dcnt, const OEMCHAR *src, UINT scnt);

#ifdef __cplusplus
extern "C" {
#endif

BRESULT textcnv_tooem(UINT code, TCTOOEM *tcto);
BRESULT textcnv_fromoem(UINT code, TCFROMOEM *tcfo);

#ifdef __cplusplus
}
#endif


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