Skip to content

Latest commit

 

History

History
58 lines (49 loc) · 2.99 KB

nn-portcls-iservicesink.md

File metadata and controls

58 lines (49 loc) · 2.99 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NN:portcls.IServiceSink
IServiceSink (portcls.h)
The IServiceSink interface encapsulates handling of a service request.
audio\iservicesink.htm
audio
05/08/2018
IServiceSink interface
IServiceSink, IServiceSink interface [Audio Devices], IServiceSink interface [Audio Devices],described, audio.iservicesink, audmp-routines_68a03e77-6246-44e7-acad-6de0fbe10c41.xml, portcls/IServiceSink
portcls.h
Windows
Windows
IServiceSink
portcls/IServiceSink
APIRef
kbSyntax
COM
portcls.h
IServiceSink

IServiceSink interface

-description

The IServiceSink interface encapsulates handling of a service request. The source of the service request is typically the miniport driver's interrupt service routine. PortCls supports the IServiceSink interface. An IServiceSink object is typically a member of a service group that is managed by an IServiceGroup object. IServiceSink inherits from the IUnknown interface.

IServiceSink is the base interface for IServiceGroup. This allows an IServiceGroup object to add itself (as an object with an IServiceSink interface) to another IServiceGroup object's service group.

Although the PortCls system driver provides a PcNewServiceGroup function for creating a service group object, no similar function exists for creating a service sink object. Instead, a driver object that requires a service sink simply implements an IServiceSink interface in the driver object. For convenience, header file portcls.h includes an IMP_IServiceSink constant for adding the IServiceSink implementation to the object's class definition. The cost of adding an IServiceSink interface to an object is small because the interface supports only a single method. A port driver typically adds an IServiceSink interface to its port object and stream objects so that they can receive notification of interrupts from an audio device.

For more information, see Service Sink and Service Group Objects.

-inheritance

The IServiceSink interface inherits from the IUnknown interface. IServiceSink also has these types of members: