Microsoft DirectX 9.0

CImageSample Class

CImageSample Class Hierarchy

The CImageSample class implements a media sample that manages a GDI device-independent bitmap (DIB). This class derives from the CMediaSample class. It is intended to be used with the CImageAllocator class. The CImageAllocator class provides an allocator that creates CImageSample objects.

Requirements

Header: Declared in Winutil.h; include Streams.h.

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

Protected Member Variables Description
m_DibData Contains information about the DIB that this object is managing.
m_bInit Indicates whether the object has been initialized.
Public Methods  
CImageSample Constructor method.
GetDIBData Retrieves information about the DIB that this object is managing.
SetDIBData Sets information about the DIB that this object is managing.