Subscribe(String,EventSummaryCallback,IntPtr)
Subscribes to the event channel named id
.
The callback
parameter specifies the function to call when data is available.
The userData
parameter is a generic IntPtr sent to the callback when invoked.
The call is synchronous.
See CheckForEvents for more information.
Parameters
id : string : Name of the event channel you’re subscribing to.
callback : EventSummaryCallback : The EventSummaryCallback that specifies the function to call when the data is available.
userData : IntPtr : The userData sent to the callback when invoked.
Return
Status : Status that indicates if the operation succeeds.