MIDIDisableInstance Return Value - rc
rc (ULONG) - returns
Returns
0 if the command is completed successfully.
MIDIERR_HARDWARE_FAILED
The disable or close 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 disable an instance for
send (or for send and receive) when the instance supports receive only.
MIDIERR_SENDONLY
An attempt
was made to disable an instance for receive (or for send and receive) when
the instance supports send only.
[Back: MIDIDisableInstance Parameter - ulFlag]
[Next: MIDIDisableInstance - Parameters]