IAMWMBufferPass::SetNotify method

The SetNotify method sets an application-defined callback on the WM ASF Reader or WM ASF Writer filter.

Syntax


HRESULT SetNotify(
  [in] IAMWMBufferPassCallback *pCallback
);

Parameters

pCallback [in]

Pointer to the application's IAMWMBufferPassCallback interface.

Return value

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

Remarks

Call this method before putting the filter graph into the run state.

Requirements

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 R2 [desktop apps only]

Product

Windows Media Format 9 Series or later

Header

Dshowasf.h

See also

IAMWMBufferPass Interface
Using Windows Media in DirectShow

 

 

Show: