Miles Sound System SDK 7.2a

AIL_list_MIDI

The function AIL_list_MIDI creates a detailed listing of a MIDI file.

S32 AIL_list_MIDI(
  void const * MIDI,
  U32 MIDI_size,
  char * *list,
  U32 *listsize,
  S32 flags
);

In Parameters

MIDI
points to a file image containing standard MIDI data.
MIDI_size
is the length of the MIDI data.
flags
is zero, or one or more of the MILES_LIST_MIDI_FLAGS.

Out Parameters

list
should be the address of a " void* " pointer that will return with the pointer to the new ASCII MIDI list. This parameter can be NULL if you don't need it.
listsize
should be the address of an unsigned 32-bit integer that will return with the size of the new ASCII MIDI list. This parameter can be NULL if you don't need it.

Returns

1, if the call was successful, or 0 if the call failed.

Discussion

You must free the pointer returned in list with AIL_mem_free_lock.

The output ASCII list is zero-terminated.

This function is supported under Windows only.


Group: Utility Services
Related Functions: AIL_list_DLS, AIL_mem_free_lock
Related Basic Types: MILES_LIST_MIDI_FLAGS, S32, U32, char *, void const *

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.