| Herd Software Development
|=
DaVinci Graphics Library
|==
DaVinci Documentation Home Search Order


Leonardo: The RWOpenDIB function

HDIBRW API RWOpenDIB(HDIB hDIB);

HDIB HDIB Act the DIB to be processed, for example from CreateDIB, ipImportExt or LoadDIBFromFile.

Return value

If the function is successful, it returns a DIB handle for use with subsequent RWxxxx - functions. If the transferred hDIB-Handle can not be processed, or if there is insufficient memory for the operation, the function returns 0 or NULL.

Whenever a non-null handle is returned by RWOpenDIB, RWClose must be used to free the allocated memory.