--- np2/win9xc/commng.cpp 2003/10/16 17:59:19 1.1 +++ np2/win9xc/commng.cpp 2003/10/25 09:08:24 1.2 @@ -5,27 +5,27 @@ // ---- non connect -UINT commng_ncread(COMMNG self, BYTE *data) { +static UINT ncread(COMMNG self, BYTE *data) { (void)self; (void)data; return(0); } -UINT commng_ncwrite(COMMNG self, BYTE data) { +static UINT ncwrite(COMMNG self, BYTE data) { (void)self; (void)data; return(0); } -BYTE commng_ncgetstat(COMMNG self) { +static BYTE ncgetstat(COMMNG self) { (void)self; return(0xf0); } -UINT commng_ncmsg(COMMNG self, UINT msg, long param) { +static long ncmsg(COMMNG self, UINT msg, long param) { (void)self; (void)msg; @@ -37,14 +37,14 @@ static void ncrelease(COMMNG self) { } static const _COMMNG com_nc = { - COMCONNECT_OFF, - commng_ncread, commng_ncwrite, commng_ncgetstat, commng_ncmsg, - ncrelease}; + COMCONNECT_OFF, ncread, ncwrite, ncgetstat, ncmsg, ncrelease}; // ---- void commng_initialize(void) { + + cmmidi_initailize(); } COMMNG commng_create(UINT device) {