Partager via


CMediaType::ResetFormatBuffer

 
Microsoft DirectShow 9.0

CMediaType::ResetFormatBuffer

The ResetFormatBuffer method deletes the format block. The method sets the cbFormat and pbFormat members of the AM_MEDIA_TYPE structure to NULL.

Syntax

  void ResetFormatBuffer(void);

Requirements

**  Header:** Declared in Mtype.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also