Visual Basic Error Values

The methods of the Microsoft® Direct3D® Retained Mode interfaces can return the following values in Microsoft Visual Basic®.

D3DRM_OK
No error. Equivalent to DD_OK.
D3DRMERR_BADALLOC
Out of memory.
D3DRMERR_BADDEVICE
Device is not compatible with renderer.
D3DRMERR_BADFILE
Data file is corrupt.
D3DRMERR_BADMAJORVERSION
Bad dynamic-link library (DLL) major version.
D3DRMERR_BADMINORVERSION
Bad DLL minor version.
D3DRMERR_BADOBJECT
Object expected in argument.
D3DRMERR_BADPMDATA
Data in the .x file is corrupted. The conversion to a progressive mesh succeeded but produced an invalid progressive mesh in the .x file.
D3DRMERR_BADTYPE
Bad argument type passed.
D3DRMERR_BADVALUE
Bad argument value passed.
D3DRMERR_BOXNOTSET
An attempt was made to access a bounding box (for example, with Direct3DRMFrame3.GetBox) when no bounding box was set on the frame.
D3DRMERR_CLIENTNOTREGISTERED
Client has not been registered.
D3DRMERR_CONNECTIONLOST
Data connection was lost during a load, clone, or duplicate.
D3DRMERR_ELEMENTINUSE
Element can't be modified or deleted while in use. To empty a submesh, call Direct3DRMMeshBuilder3.Empty against its parent.
D3DRMERR_FACEUSED
Face already used in a mesh.
D3DRMERR_FILENOTFOUND
File not found in the specified location.
D3DRMERR_INCOMPATABLEKEY
Specified animation key is incompatible. The key cannot be modified.
D3DRMERR_INVALIDLIBRARY
Specified library is invalid.
D3DRMERR_LIBRARYNOTFOUND
Specified library not found.
D3DRMERR_LOADABORTED
Load aborted by user.
D3DRMERR_NOSUCHKEY
Specified animation key does not exist.
D3DRMERR_NOTCREATEDFROMDDS
Specified texture was not created from a Microsoft DirectDraw® surface.
D3DRMERR_NOTDONEYET
Error flag not implemented.
D3DRMERR_NOTENOUGHDATA
Not enough data has been loaded to perform the requested operation.
D3DRMERR_NOTFOUND
Object not found in specified place.
D3DRMERR_PENDING
Data required to supply the requested information has not finished loading.
D3DRMERR_REQUESTTOOLARGE
Attempt was made to set a level of detail in a progressive mesh greater than the maximum available.
D3DRMERR_REQUESTTOOSMALL
Attempt was made to set the minimum rendering detail of a progressive mesh smaller than the detail in the base mesh (the minimum for rendering).
D3DRMERR_TEXTUREFORMATNOTFOUND
Texture format could not be found that meets the specified criteria and that the underlying Immediate Mode device supports.
D3DRMERR_UNABLETOEXECUTE
Unable to carry out procedure.
DD_OK
Request completed successfully. Equivalent to D3DRM_OK.
DDERR_INVALIDOBJECT
Received pointer that was an invalid object.
DDERR_INVALIDPARAMS
One or more of the parameters passed to the method are incorrect.
DDERR_NOTFOUND
Requested item was not found.
DDERR_NOTINITIALIZED
An attempt was made to call an interface method of an object before the object was initialized.
DDERR_OUTOFMEMORY
DirectDraw does not have enough memory to perform the operation.

Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.