Bitmap Error Codes

3DS Max Plug-In SDK

Bitmap Error Codes

The following error codes are used by the functions that use or return BMMRES types:

BMMRES_SUCCESS

Success - No error occurred.

BMMRES_ERRORTAKENCARE

Error - The function has already taken appropriate action to process the error.

The errors below require the user to be informed.

BMMRES_FILENOTFOUND

The file being accessed was not found.

BMMRES_MEMORYERROR

Insufficient memory for the requested operation.

BMMRES_NODRIVER

Device driver responsible for the image not present.

BMMRES_IOERROR

Input / Output error.

BMMRES_INVALIDFORMAT

The file being access was not of the proper format for the requested operation.

BMMRES_CORRUPTFILE

The file being accessed was corrupt.

BMMRES_SINGLEFRAME

Results from a goto request on a single frame image.

BMMRES_INVALIDUSAGE

Bad argument passed to function (developer mistake).

BMMRES_ERRORRETRY

This is no longer used. Use BMMRES_RETRY below.

BMMRES_NUMBEREDFILENAMEERROR

This may be passed as an errorcode to BitmapIO::ProcessImageIOError().

BMMRES_INTERNALERROR

An internal error occurred.

BMMRES_BADFILEHEADER

A file header error occurred.

BMMRES_CANTSTORAGE

This is used internally.

BMMRES_RETRY

This is returned if the user selects Retry from the 3ds max Image IO Error dialog box. This dialog is presented by the method BitmapIO::ProcessImageIOError().

BMMRES_BADFRAME

Invalid Frame Number Requested