Skip to content

Latest commit

 

History

History
96 lines (68 loc) · 3.79 KB

nf-ksproxy-ikspin-ksdecrementpendingiocount.md

File metadata and controls

96 lines (68 loc) · 3.79 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
NF:ksproxy.IKsPin.KsDecrementPendingIoCount
IKsPin::KsDecrementPendingIoCount (ksproxy.h)
The KsDecrementPendingIoCount method decrements the number of input/output (I/O) operations that are in progress on a pin.
stream\ikspin_ksdecrementpendingiocount.htm
stream
04/23/2018
IKsPin::KsDecrementPendingIoCount
IKsPin interface [Streaming Media Devices],KsDecrementPendingIoCount method, IKsPin.KsDecrementPendingIoCount, IKsPin::KsDecrementPendingIoCount, KsDecrementPendingIoCount, KsDecrementPendingIoCount method [Streaming Media Devices], KsDecrementPendingIoCount method [Streaming Media Devices],IKsPin interface, ksproxy/IKsPin::KsDecrementPendingIoCount, ksproxy_4b423ae2-1256-4ccc-9c8d-4bd6cdb99e42.xml, stream.ikspin_ksdecrementpendingiocount
ksproxy.h
Ksproxy.h
Desktop
Windows
IKsPin::KsDecrementPendingIoCount
ksproxy/IKsPin::KsDecrementPendingIoCount
APIRef
kbSyntax
COM
ksproxy.h
IKsPin::KsDecrementPendingIoCount

IKsPin::KsDecrementPendingIoCount

-description

The KsDecrementPendingIoCount method decrements the number of input/output (I/O) operations that are in progress on a pin.

-returns

Returns an integer from 0 to n, the value that represents the new number of I/O operations that are in progress.

-remarks

The KsDecrementPendingIoCount method is typically called from within an interface handler as described in the following sequence:

  1. The proxy creates an instance of an interface handler (IKsInterfaceHandler) to handle a particular media type.
  2. A client calls the IKsInterfaceHandler::KsSetPin method to inform that interface handler about the pin with which to communicate when passing data.
  3. The client calls the IKsInterfaceHandler::KsProcessMediaSamples method to move samples from or to the assigned pin. KsProcessMediaSamples performs I/O operations and for each I/O operation, calls IKsPin::KsIncrementPendingIoCount to increment the I/O count.
  4. The client calls the IKsInterfaceHandler::KsCompleteIo method to complete an I/O operation. KsCompleteIo calls KsDecrementPendingIoCount to decrement the I/O count.

-see-also

IKsInterfaceHandler

IKsInterfaceHandler::KsCompleteIo

IKsInterfaceHandler::KsProcessMediaSamples

IKsInterfaceHandler::KsSetPin

IKsPin::KsIncrementPendingIoCount