The RegisterServiceGroup method registers the service group to be used for the IPortMidi::Notify method.
NTSTATUS
RegisterServiceGroup(
IN PSERVICEGROUP ServiceGroup
);
RegisterServiceGroup returns STATUS_SUCCESS if the call was successful. Otherwise, the method returns an appropriate error code.
Declared in portcls.h. Include portcls.h.
The ServiceGroup parameter follows the reference-counting conventions for COM objects.
Callers of RegisterServiceGroup must run at IRQL PASSIVE_LEVEL.