pulNumInstances (PULONG) - output
ulFlag (ULONG) - input
rc (ULONG) - returns
MIDIERR_INTERNAL_SYSTEM