Return type of IlvBitmapAllocationFailedCallback
functions.
More...
#include <C:/jenkins/workspace/Views-all/views/include.doc/ilviews/windows/config.h>
Public Member Functions | |
IlvBitmapAllocationResult (HBITMAP bitmap) | |
Implicit cast to simplify the implementation of IlvBitmapAllocationFailedCallback functions. More... | |
Return type of IlvBitmapAllocationFailedCallback
functions.
User-defined IlvBitmapAllocationFailedCallback
functions are invoked in situation where Views cannot allocate memory for an IlvBitmap
.
This type is the returned type from these callback functions.
IlvBitmapAllocationResult::IlvBitmapAllocationResult | ( | HBITMAP | bitmap | ) |
Implicit cast to simplify the implementation of IlvBitmapAllocationFailedCallback
functions.
This constructor is implicitely used when, in the return
statement of an implementation of a IlvBitmapAllocationFailedCallback
, you would be writing a fragment such as:
IlvBitmapAllocationResult MyBitmapAllocationFailureCallback(IlvDisplay* display, IlvDim width, IlvDim height, IlUShort depth, IlvBitmap::MemoryType memoryType, IlUInt attemptCounter) { HBITMAP hBitmap = ...; ... return hBitmap; }