3ds Max C++ API Reference
Bitmap Error (result) Codes

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

Macros

#define BMMRES_SUCCESS   0
 Success - No error occurred. More...
 
#define BMMRES_ERRORTAKENCARE   1
 Error - Function has already taken action to process the error. More...
 
#define BMMRES_FILENOTFOUND   2
 The file being accessed was not found. More...
 
#define BMMRES_MEMORYERROR   3
 Insufficient memory for the requested operation. More...
 
#define BMMRES_NODRIVER   4
 Device driver responsible for image not present. More...
 
#define BMMRES_IOERROR   5
 Input / Output error. More...
 
#define BMMRES_INVALIDFORMAT   6
 The file being access was not of the proper format for the requested operation. More...
 
#define BMMRES_CORRUPTFILE   7
 The file being accessed was corrupt. More...
 
#define BMMRES_SINGLEFRAME   8
 Results from a goto request on a single frame image. More...
 
#define BMMRES_INVALIDUSAGE   9
 Bad argument passed to function (Developer Mistake) More...
 
#define BMMRES_RETRY   10
 This is returned if the user selects Retry from the 3ds Max Image IO Error dialog box. More...
 
#define BMMRES_NUMBEREDFILENAMEERROR   11
 This can be passed as an error code to BitmapIO::ProcessImageIOError(). More...
 
#define BMMRES_INTERNALERROR   12
 An internal error occurred. More...
 
#define BMMRES_BADFILEHEADER   13
 A file header error occurred. More...
 
#define BMMRES_CANTSTORAGE   14
 This is used internally. More...
 
#define BMMRES_BADFRAME   15
 Invalid Frame Number Requested. More...
 

Detailed Description

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

Macro Definition Documentation

◆ BMMRES_SUCCESS

#define BMMRES_SUCCESS   0

Success - No error occurred.

◆ BMMRES_ERRORTAKENCARE

#define BMMRES_ERRORTAKENCARE   1

Error - Function has already taken action to process the error.

◆ BMMRES_FILENOTFOUND

#define BMMRES_FILENOTFOUND   2

The file being accessed was not found.

◆ BMMRES_MEMORYERROR

#define BMMRES_MEMORYERROR   3

Insufficient memory for the requested operation.

◆ BMMRES_NODRIVER

#define BMMRES_NODRIVER   4

Device driver responsible for image not present.

◆ BMMRES_IOERROR

#define BMMRES_IOERROR   5

Input / Output error.

◆ BMMRES_INVALIDFORMAT

#define BMMRES_INVALIDFORMAT   6

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

◆ BMMRES_CORRUPTFILE

#define BMMRES_CORRUPTFILE   7

The file being accessed was corrupt.


◆ BMMRES_SINGLEFRAME

#define BMMRES_SINGLEFRAME   8

Results from a goto request on a single frame image.

◆ BMMRES_INVALIDUSAGE

#define BMMRES_INVALIDUSAGE   9

Bad argument passed to function (Developer Mistake)

◆ BMMRES_RETRY

#define BMMRES_RETRY   10

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(). User selected "Retry" from error dialogue.

◆ BMMRES_NUMBEREDFILENAMEERROR

#define BMMRES_NUMBEREDFILENAMEERROR   11

This can be passed as an error code to BitmapIO::ProcessImageIOError().

◆ BMMRES_INTERNALERROR

#define BMMRES_INTERNALERROR   12

An internal error occurred.

◆ BMMRES_BADFILEHEADER

#define BMMRES_BADFILEHEADER   13

A file header error occurred.

◆ BMMRES_CANTSTORAGE

#define BMMRES_CANTSTORAGE   14

This is used internally.

◆ BMMRES_BADFRAME

#define BMMRES_BADFRAME   15

Invalid Frame Number Requested.