Description
|
Returns the current value of the event selector. |
Parameters |
Pointer to boolean return field. |
Returns |
0 = Primary 1 = Alternate. |
Notes |
None. |
Visual C++ Declaration/example
BOOL TBAPI
TBApiGetEventSelectorState(DWORD* bState);
DWORD bState;
If
(!TBApiGetEventSelectorState(&bState))
AfxMessageBox(“Unable to get selector state”);
Public Declare Function
TBApiGetEventSelectorState Lib "TBapi" Alias "_DLL_TBApiGetEventSelectorState@4"
(ByVal bState As Long) As Long
Dim bState As Long
Dim addrbState As Long
addrbState = VarPtr(bState)
If
TBApiGetEventSelectorState(addrbState) = False Then
MsgBox "Unable to get selector state"
End If