MIDICreateInstance Return Value - rc
rc
(
ULONG
) - returns
Returns 0 if the command is completed successfully.
MIDIERR_DUPLICATE_INSTANCE
The instance name already exists.
MIDIERR_INTERNAL_SYSTEM
System problem.
MIDIERR_INVALID_CLASS_NUMBER
The class number (
ulClassNumber
) is invalid.
MIDIERR_INVALID_FLAG
The
ulFlag
value is not set to 0.
MIDIERR_INVALID_INSTANCE_NAME
The instance name (
pszInstanceName
) is invalid.
MIDIERR_INVALID_PARAMETER
The
pminstance
pointer is invalid.
MIDIERR_NOT_ALLOWED
An attempt was made to create a second application node.
MIDIERR_RESOURCE_NOT_AVAILABLE
A required system resource is not available.
[Back: MIDICreateInstance Parameter - ulFlag]
[Next: MIDICreateInstance - Parameters]