coastline 0.0.4
Loading...
Searching...
No Matches
timer.h File Reference
#include <windows.h>
#include <mmsystem.h>
Include dependency graph for timer.h:

Go to the source code of this file.

Functions

void __stdcall EarShutDownTimerExportWrapper (void)
 Forward timer cancellation to EAR_DLL_ShutDownTimer().
void __stdcall EAR_DLL_ShutDownTimer (void)
 Cancel the periodic playback timer if present and clear its identifier on success.
int __stdcall EAR_DLL_StartTimer (void)
 Attempt to replace an existing timer and schedule playback updates every 50 milliseconds.
int __stdcall EarStartTimerExportWrapper (void)
 Forward periodic timer creation to EAR_DLL_StartTimer().

Function Documentation

◆ EarShutDownTimerExportWrapper()

void __stdcall EarShutDownTimerExportWrapper ( void )

Forward timer cancellation to EAR_DLL_ShutDownTimer().

Ghidra address:
EAR: 0x1000f870

◆ EAR_DLL_ShutDownTimer()

void __stdcall EAR_DLL_ShutDownTimer ( void )

Cancel the periodic playback timer if present and clear its identifier on success.

Clear the last EAR error first; cancellation failure records error 24 and preserves the identifier.

Ghidra address:
EAR: 0x1000f87a

◆ EAR_DLL_StartTimer()

int __stdcall EAR_DLL_StartTimer ( void )

Attempt to replace an existing timer and schedule playback updates every 50 milliseconds.

The library must be ready. Replacement proceeds even when cancelling an existing timer fails.

Returns
TRUE when a timer is created; FALSE when EAR is unavailable or creation fails. Creation failure records EAR error 24.
Ghidra address:
EAR: 0x1000fa7a

◆ EarStartTimerExportWrapper()

int __stdcall EarStartTimerExportWrapper ( void )

Forward periodic timer creation to EAR_DLL_StartTimer().

Returns
Whether the playback timer was created.
Ghidra address:
EAR: 0x1000fa70