Windows Dev Center

IWMPGraphCreation::GraphCreationPostRender method

The GraphCreationPostRender method is called by Windows Media Player after a file has been rendered.

Syntax


HRESULT GraphCreationPostRender(
  [in] IUnknown *pFilterGraph
);

Parameters

pFilterGraph [in]

Pointer to the IUnknown interface of the Windows Media Player control's DirectShow filter graph.

Return value

Return a success HRESULT code to allow playback to continue or a failure code to terminate playback.

Remarks

You can call QueryInterface through pFilterGraph to retrieve the DirectShow filter graph interfaces you need.

There is no guarantee that this method will be invoked for all files. Only files rendered with DirectShow will cause this method to be invoked and the WMPGC_FLAGS_USE_CUSTOM_GRAPH flag to be honored. CD, DVD, Image, Flash, Windows Media Format SDK, and Media Foundation playback will not invoke this method.

Windows Media Player 10 Mobile: This method is not supported.

Requirements

Version

Windows Media Player 10 or later

Header

Wmpservices.h

DLL

Wmp.dll

See also

IWMPGraphCreation Interface

 

 

Community Additions

ADD
Show:
© 2015 Microsoft