IWMReaderAccelerator::Notify method

The Notify method is called by the source filter to pass in the negotiated media type.

Syntax

HRESULT Notify(
  DWORD         dwOutputNum,
  WM_MEDIA_TYPE *pSubtype
);

Parameters

dwOutputNum

DWORD that specifies the stream associated with the notification.

pSubtype

Pointer to a media type that describes the current connection parameters for the stream.

Return value

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code .

Remarks

This method enables the reader to update its internal variables and commit to the DirectX VA connection. This is the last place the decoder or reader can fail.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only],Windows Media Format 9 Series SDK, or later versions of the SDK
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header wmsdkidl.h (include Wmsdk.h)
Library Wmvcore.lib; WMStubDRM.lib (if you use DRM)

See also

Enabling DirectX Video Acceleration

IWMReaderAccelerator Interface