|Microsoft DirectX 9.0|
CImageSample( CBaseAllocator *pAllocator, TCHAR *pName, HRESULT *phr, LPBYTE pBuffer, LONG length );
Pointer to the allocator that created this sample.
Pointer to a memory buffer allocated by the caller, of size length. The buffer should contain a GDI device-independent bitmap (DIB).
Length of the buffer.
The CImageAllocator class creates a DIB using a file-mapping object that is backed by the operating-system paging file. The handle to the file-mapping object is stored in the hMapping member of the m_DibData structure.