summaryrefslogtreecommitdiffstats
path: root/Whisper/API/sLoadModelCallbacks.h
diff options
context:
space:
mode:
Diffstat (limited to 'Whisper/API/sLoadModelCallbacks.h')
-rw-r--r--Whisper/API/sLoadModelCallbacks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Whisper/API/sLoadModelCallbacks.h b/Whisper/API/sLoadModelCallbacks.h
index f5248c6..8f274c6 100644
--- a/Whisper/API/sLoadModelCallbacks.h
+++ b/Whisper/API/sLoadModelCallbacks.h
@@ -3,6 +3,7 @@
namespace Whisper
{
using pfnLoadProgress = HRESULT( __stdcall* )( double val, void* pv ) noexcept;
+ // Return S_OK to continue, or S_FALSE to fail with "The operation was canceled by the user" status code
using pfnCancel = HRESULT( __stdcall* )( void* pv ) noexcept;
struct sLoadModelCallbacks