IAMWMBufferPassCallback::Notify method

The Notify method is called by the pin for each buffer that is delivered during streaming.

Syntax

HRESULT Notify(
  INSSBuffer3    *pNSSBuffer3,
  IPin           *pPin,
  REFERENCE_TIME *prtStart,
  REFERENCE_TIME *prtEnd
);

Parameters

pNSSBuffer3

Pointer to the INSSBuffer3 interface exposed on the media sample.

pPin

Pointer to the pin associated with the media stream that the sample belongs to.

prtStart

Start time of the sample.

prtEnd

End time of the sample.

Return value

No particular return value is specified. The calling pin ignores the HRESULT.

Remarks

This method enables an application to examine and act on information in the media buffer before the buffer contents are processed. The application is responsible for knowing the media type on the pin. This information can be obtained by first getting the stream information from the profile and then calling IConfigAsfWriter2::StreamNumFromPin method to determine which pin is associated with each stream.

Requirements

   
Target Platform Windows
Header dshowasf.h

See also

DirectShow QASF Reference

IAMWMBufferPassCallback Interface

INSSBuffer3 Interface