EDirectXError
Unit

DirectX

Declaration

EDirectXError = class(Exception)
private
    FErrorCode: HRESULT;
public
    constructor Create( const Msg: String; const ErrorCode: HRESULT ); virtual;
    property ErrorCode: HRESULT read FErrorCode;
end;

Description

EDirectXError is the exception class for error results of DirectX method calls. The ErrorCode property contains the error value return by the method which caused the exception.