MciOpenParms.lpstrElementName = lpszMIDIFileName MciOpenParms.lpstrDeviceType = "sequencer" MCI will attempt to choose the MIDI mapper as the output port. ![]() Open the device by specifying the device and filename. Returns 0L on success otherwise, it returns an MCI error code.ĭWORD playMIDIFile(HWND hWndNotify, LPSTR lpszMIDIFileName) specified window will be notified when playback is complete. ![]() Plays a specified MIDI file by using MCI_OPEN and MCI_PLAY. O exemplo a seguir abre um dispositivo de sequenciador MIDI, verifica se o Mapeador MIDI foi selecionado como a porta de saída, reproduz o arquivo MIDI especificado pelo parâmetro lpszMIDIFileName e fecha o dispositivo após a reprodução ser concluída.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |