In order to access hardware (SIO, etc.), first call this function and obtain the handle.
int MT_Open(void *pv)
void *pv
It is a reserved argument. Please specify NULL.
If the function succeeds, a valid bundle is returned.
For other functions, device control is performed using the handle acquired by this function.
If the function fails, -1 is returned.
The other errors : Error code details