IPortMidi::RegisterServiceGroup method

The RegisterServiceGroup method registers the service group to be used for the IPortMidi::Notify method.

Syntax


void RegisterServiceGroup(
  [in] PSERVICEGROUP ServiceGroup
);

Parameters

ServiceGroup [in]

Pointer to the miniport driver's IServiceGroup object that is being registered.

Return value

RegisterServiceGroup returns STATUS_SUCCESS if the call was successful. Otherwise, the method returns an appropriate error code.

Remarks

The ServiceGroup parameter follows the reference-counting conventions for COM objects.

Requirements

Target platform

Universal

Header

Portcls.h (include Portcls.h)

IRQL

PASSIVE_LEVEL

See also

IPortMidi::Notify
IServiceGroup

 

 

Send comments about this topic to Microsoft

Show: