IMiniportMidi::Service method

The Service method notifies the miniport driver of a request for service.

Syntax


void Service(
    None
);

Parameters

None

Return value

None

Remarks

When the port driver calls the miniport driver's IMiniportMidi::Init method, that method outputs a reference to the miniport driver's IServiceGroup object. The port driver adds its own IServiceSink object to this service group and then waits to receive notification of a service request. The source of the notification is typically the miniport driver's interrupt service routine (ISR).

When the miniport driver's ISR calls the port driver's IPortMidi::Notify routine, the port driver queues a deferred procedure call (DPC). When the DPC executes, it calls the RequestService method on each of the IServiceSink objects in the service group. When the DPC calls this method on the port driver's IServiceSink object, the port driver in turn calls the miniport driver's Service method.

Requirements

Target platform

Universal

Header

Portcls.h (include Portcls.h)

IRQL

DISPATCH_LEVEL

See also

IMiniportMidi::Init
IServiceGroup
IServiceSink
IPortMidi::Notify

 

 

Send comments about this topic to Microsoft

Show: