Returns, Parameters – Sensoray 2246 User Manual
Page 35
breakonrecsize flag indicating whether to, 1=end recording when filesize reaches size, or
0=continue recording to new file.
board ID if multiple boards installed.
Returns:
0 on success
MID2246_API int SN_SetNotifyAtRecordEnd (HWND hNotifyApp, UINT mNotifyMessage, int
board = 0)
Enables or Disables sending of message indicating that recording has stopped. Sets the call
back filename as Ascii
Parameters:
hNotifyApp Handle of application to send notification message to.
mNotifyMessage message to send calling application when recording done
•
The WPARAM parameter of the message will return one of the following reasons for
why the recording was stopped.
•
MID2246_RC_OUTSPACE out of space on disk
•
MID2246_RC_RECTIME record time specified exceeded
•
MID2246_RC_MANUALSTOP manually stopped
•
MID2246_RC_RECCLIPSIZE clip size exceeded, starting new clip
•
MID2246_RC_RECCLIPSIZEANDSTOP clip size exceeded, stop recording and
notify user
•
The LPARAM of the message will contain return a pointer to a string containing the
ASCII name of the recorded file that was just closed.
board ID if multiple boards installed.
Returns:
0 on success
MID2246_API int SN_SetNotifyAtRecordEndW (HWND hNotifyApp, UINT mNotifyMessage,
int board = 0)
Enables or Disables sending of message indicating that recording has stopped. Sets the call
back filename as Unicode (Windows Wide Characters WCHAR)
Parameters:
hNotifyApp Handle of application to send notification message to.
mNotifyMessage message to send calling application when recording done
•
The WPARAM parameter of the message will return one of the following reasons for
why the recording was stopped.
•
MID2246_RC_OUTSPACE out of space on disk
•
MID2246_RC_RECTIME record time specified exceeded
•
MID2246_RC_MANUALSTOP manually stopped
•
MID2246_RC_RECCLIPSIZE clip size exceeded, starting new clip
•
MID2246_RC_RECCLIPSIZEANDSTOP clip size exceeded, stop recording and
notify user
•
The LPARAM of the message will contain return a pointer to a string containing the wide
character (WCHAR) name of the recorded file that was just closed.
board ID if multiple boards installed.
Returns:
0 on success
35