summaryrefslogtreecommitdiffstats
path: root/Whisper/API/MfStructs.h
diff options
context:
space:
mode:
Diffstat (limited to 'Whisper/API/MfStructs.h')
-rw-r--r--Whisper/API/MfStructs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Whisper/API/MfStructs.h b/Whisper/API/MfStructs.h
index cd27659..39255de 100644
--- a/Whisper/API/MfStructs.h
+++ b/Whisper/API/MfStructs.h
@@ -40,8 +40,11 @@ namespace Whisper
Stalled = 0x80,
};
+ // Return S_OK to continue, or S_FALSE to stop the capture session
using pfnShouldCancel = HRESULT( __stdcall* )( void* pv ) noexcept;
+
using pfnCaptureStatus = HRESULT( __stdcall* )( void* pv, eCaptureStatus status ) noexcept;
+
struct sCaptureCallbacks
{
pfnShouldCancel shouldCancel;