Microsoft DirectX 8.1 (Visual Basic)

D3DX8.GetErrorString

Returns the error string for an error code.

object.GetErrorString( _ 
    ErrorCode As Long) As String

Parts

object
Object expression that resolves to a D3DX8 object.
ErrorCode
The specified error code to decipher.

Return Values

Returned error string.

Error Codes

If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.

For information on trapping errors, see the Microsoft Visual Basic® Error Handling topic.

Remarks

This function interprets all Microsoft® Direct3D® error codes.