VCEANCB_GetTriggerStatus
The VCEANCB_GetTriggerStatus function query trigger for status.
VCEANCB_Error VCEANCB_GetTriggerStatus ( HANDLE hVCEANCB, // Handle to card DWORD* pdwCurStatus, // Current status DWORD* pdwWasRising, // Was state changed to rising DWORD* pdwWasFalling, // Was state changed to falling );
Parameter:
- hVCEANCB
- [in] Handle to FrameLink card.
- pdwCurStatus
-
[out] Current state of trigger
0 - Trigger released (No signal, Logic 0)
1 - Trigger pushed (Signal, Logic 1) - pdwWasRising
- [out] Was state of trigger changed from Logic 0 to Logic 1 (pushed) since last function call
- pdwWasFalling
- [out] Was state of trigger chnaged from Logic 1 to Logic 0 (released) since last function call
Return values:
If function succeeds, the return value is VCEANCB_Err_Success.
If function fails, the return value can be one of the following values.
VCEANCB_Err_badArgument | hVCEANCB handle or any of pointers are bad. |