Fills the *info structure with data about the RawMidi device selected by handle. Function returns zero if successful, otherwise it returns an error code.
/* device is capable rawmidi output */
#define SND_RAWMIDI_INFO_OUTPUT 0x00000001
/* device is capable rawmidi input */
#define SND_RAWMIDI_INFO_INPUT 0x00000002
/* device is capable the duplex module */
#define SND_RAWMIDI_INFO_DUPLEX 0x00000004
typedef struct snd_rawmidi_info {
/* soundcard type */
int type;
/* see SND_RAWMIDI_INFO_XXXX */
unsigned int flags;
/* ID of this RawMidi device */
unsigned char id[64];
/* name of this RawMidi device */
unsigned char name[80];
/* reserved for the future use */
unsigned char reserved[64];
} snd_rawmidi_info_t;