coastline 0.0.4
Loading...
Searching...
No Matches
error.h File Reference
#include <stdint.h>
Include dependency graph for error.h:

Go to the source code of this file.

Functions

void __stdcall SetEarLastError (uint32_t error)
 Store an EAR error and display a nonzero error when automatic messages are enabled.
uint32_t __stdcall EarGetLastErrorExportWrapper (void)
void __stdcall EarShowLastErrorExportWrapper (void)
 Forward display of the last nonzero EAR error to EAR_DLL_ShowLastError().
uint32_t __stdcall EAR_DLL_GetLastError (void)
void __stdcall EAR_DLL_ShowLastError (void)
 Show the last nonzero error in a modal message over the notification window without clearing it.

Function Documentation

◆ SetEarLastError()

void __stdcall SetEarLastError ( uint32_t error)

Store an EAR error and display a nonzero error when automatic messages are enabled.

Parameters
errorThe error-table index, 0..46; zero clears the error without showing a message. The index is stored without a range check and must be valid before displaying an error.
Ghidra address:
EAR: 0x100077c0

◆ EarGetLastErrorExportWrapper()

uint32_t __stdcall EarGetLastErrorExportWrapper ( void )
Returns
The last EAR error through the export without clearing it.
Ghidra address:
EAR: 0x1000c960

◆ EarShowLastErrorExportWrapper()

void __stdcall EarShowLastErrorExportWrapper ( void )

Forward display of the last nonzero EAR error to EAR_DLL_ShowLastError().

Ghidra address:
EAR: 0x1000f8d0

◆ EAR_DLL_GetLastError()

uint32_t __stdcall EAR_DLL_GetLastError ( void )
Returns
The last stored EAR error without clearing it; zero indicates no error.
Ghidra address:
EAR: 0x1000c96a

◆ EAR_DLL_ShowLastError()

void __stdcall EAR_DLL_ShowLastError ( void )

Show the last nonzero error in a modal message over the notification window without clearing it.

Stored nonzero errors must index g_earErrorMessages; the index is not checked here.

Ghidra address:
EAR: 0x1000f8da