Specifications

Application Event Source
C Interface
BOOL _cdecl ARAppEvent_Connect()
BOOL _cdecl ARAppEvent_SendEvent(const TCHAR* pszEventName, const
TCHAR* pszEventArguments)
VOID _cdecl ARAppEvent_Disconnect()
COM Interface
IARAppEventSink:
HRESULT Connect()
HRESULT SendEvent(BSTR eventName, BSTR eventArgs)
HRESULT Disconnect()
Examples
C
C#
ARAppEvent_Connect
The ARAppEvent_Connect function connects the ARAppEvent.dll to the AR
agent.
BOOL _cdecl ARAppEvent_Connect();
Parameters
None.
Return Values
Returns TRUE if connected, FALSE if connection fails.
Remarks
A process should only call this function once at startup. The result of calling
the function multiple times is undefined. If ARAppEvent_Connect is called, a
process must call ARAppEvent_Disconnect.
218 BTStudio Administration Guide