Specifications
Application Event Source
ARAppEvent_SendEvent
ARAppEvent_SendEvent causes events to be sent to the AR agent.
BOOL _cdecl ARAppEvent_SendEvent(const TCHAR* pszEventName, const TCHAR*
pszEventArguments)
Parameters
pszEventName – [in] Pointer to a NULL terminated string, either UNICODE or
ANSI based on the version of the operating system. Win9x variants use ANSI,
while WinNT variants use UNICODE.
pszEventArguments – [in] Pointer to a NULL terminated string, either
UNICODE or ANSI based on the version of the operating system. Win9x
variants use ANSI, while WinNT variants use UNICODE. Multiple arguments
are allowed, using spaces as delimiters. A maximum of 2048 bytes is allowed.
Return Values
Returns TRUE if the event was sent to the AR agent; otherwise it returns
FALSE.
Remarks
The pszEventArguments parameter holds a list of parameter pairs. The pairs
are delimited with spaces and are of the form:
EventParameter=EventParameterValue
Foo=Bar
Foo=1234
To list multiple parameter pairs, delimit them with a space:
EventParameter=EventParameterValue EventParameter=EventParameterValue
EventParameter may not contain spaces, or any other characters disallowed by
eHealth. EventParameterValue may contain spaces. If it does, you must
double quote the value:
Foo=”Bar Bar Bar”
BT Language Reference 219