Skip to content

Latest commit

 

History

History
117 lines (97 loc) · 2.38 KB

nf-mmeapi-midiingetid.md

File metadata and controls

117 lines (97 loc) · 2.38 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mmeapi.midiInGetID
midiInGetID function (mmeapi.h)
The midiInGetID function gets the device identifier for the given MIDI input device.
_win32_midiInGetID
midiInGetID
midiInGetID function [Windows Multimedia]
mmeapi/midiInGetID
multimedia.midiingetid
multimedia\midiingetid.htm
Multimedia
008e88e4-05d6-4204-802b-dd406113a7f5
12/05/2018
_win32_midiInGetID, midiInGetID, midiInGetID function [Windows Multimedia], mmeapi/midiInGetID, multimedia.midiingetid
mmeapi.h
Windows.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Winmm.lib
Winmm.dll
Windows
19H1
midiInGetID
mmeapi/midiInGetID
c++
APIRef
kbSyntax
DllExport
Winmm.dll
API-MS-Win-mm-mme-l1-1-0.dll
winmmbase.dll
midiInGetID

midiInGetID function

-description

The midiInGetID function gets the device identifier for the given MIDI input device.

This function is supported for backward compatibility. New applications can cast a handle of the device rather than retrieving the device identifier.

-parameters

-param hmi

Handle to the MIDI input device.

-param puDeviceID

Pointer to a variable to be filled with the device identifier.

-returns

Returns MMSYSERR_NOERROR if successful or an error otherwise. Possible error values include the following.

Return code Description
MMSYSERR_INVALHANDLE
The hwi parameter specifies an invalid handle.
MMSYSERR_NODRIVER
No device driver is present.
MMSYSERR_NOMEM
Unable to allocate or lock memory.

-see-also

MIDI Functions