Specifications

Application Event Source
Foo=”1234”
HRESULT_Disconnect
The HRESULT_Disconnect function tells the AR agent to clean up the instance-
based bookkeeping which is used to receive application events from the
ARAppEvent.dll.
HRESULT_IARAppEventSink::Disconnect()
Parameters
None.
Return Values
None.
Remarks
A process must call this function if it calls HRESULT_Connect.
C Interface Example
#include <TChar.h>
#include “CInterface.h”
int main(int argc, char** argv)
{
if(ARAppEvent_Connect() != TRUE)
{
return -1;
}
if(ARAppEvent_SendEvent(_T(“TestEvent”), _T(“First=1”))
{
return -2;
222 BTStudio Administration Guide