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 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 |
|
|
|
|
|
The KsDecrementPendingIoCount method decrements the number of input/output (I/O) operations that are in progress on a pin.
Returns an integer from 0 to n, the value that represents the new number of I/O operations that are in progress.
The KsDecrementPendingIoCount method is typically called from within an interface handler as described in the following sequence:
- The proxy creates an instance of an interface handler (IKsInterfaceHandler) to handle a particular media type.
- A client calls the IKsInterfaceHandler::KsSetPin method to inform that interface handler about the pin with which to communicate when passing data.
- 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.
- The client calls the IKsInterfaceHandler::KsCompleteIo method to complete an I/O operation. KsCompleteIo calls KsDecrementPendingIoCount to decrement the I/O count.
IKsInterfaceHandler::KsCompleteIo