MIDIEnableInstance Return Value - rc
rc (ULONG) - returns
Returns
0 if the command is completed successfully.
MIDIERR_HARDWARE_FAILED
The enable or open attempt
failed due to a hardware problem.
MIDIERR_INTERNAL_SYSTEM
MIDIERR_INVALID_FLAG
The ulFlag value is invalid.
MIDIERR_INVALID_INSTANCE_NUMBER
The instance number (minstance) is invalid.
MIDIERR_NOT_ALLOWED
Both
send and receive are not permitted for this particular instance.
MIDIERR_RECEIVEONLY
An attempt was made to enable an instance for send
(or for send and receive) when the instance supports receive only.
MIDIERR_RESOURCE_NOT_AVAILABLE
The enable or open attempt failed due to a system
resource not being available.
MIDIERR_SENDONLY
An
attempt was made to enable an instance for receive (or for send and receive)
when the instance supports send only.
[Back: MIDIEnableInstance Parameter - ulFlag]
[Next: MIDIEnableInstance - Parameters]