--- np2/win9x/cmmidi.h 2003/10/16 17:58:44 1.1.1.1 +++ np2/win9x/cmmidi.h 2005/02/09 20:11:35 1.3 @@ -1,27 +1,19 @@ // ---- com manager midi for windows -typedef struct { - BYTE prog; - BYTE press; - UINT16 bend; - BYTE ctrl[28]; -} _MIDICH, *MIDICH; - - #ifdef __cplusplus extern "C" { #endif -extern const char cmmidi_midimapper[]; +extern const OEMCHAR cmmidi_midimapper[]; #if defined(VERMOUTH_LIB) -extern const char cmmidi_vermouth[]; +extern const OEMCHAR cmmidi_vermouth[]; #endif -extern const char *cmmidi_mdlname[12]; +extern const OEMCHAR *cmmidi_mdlname[12]; void cmmidi_initailize(void); -COMMNG cmmidi_create(const char *midiout, const char *midiin, - const char *module); +COMMNG cmmidi_create(const OEMCHAR *midiout, const OEMCHAR *midiin, + const OEMCHAR *module); void cmmidi_recvdata(HMIDIIN hdr, UINT32 data); void cmmidi_recvexcv(HMIDIIN hdr, MIDIHDR *data);