int GetAspiLibError( void );


Description: Retrieves the last error code from a call to functions in this interface. Many of the functions in AKRip32 will set an error code -- this function should be called immediately after the error condition occurs to avoid the error code being overwritten. Subsequent errors will cause the old (and possibly unread) error code to be overwritten.

Parameters: None

Return Value: Error code. If the return value is ALERR_ASPI, the application should call GetAspiLibAspiError.

See also: GetAspiLibAspiError, Error codes