DTL_UNSOL_SOURCE_REGISTER
The DTL_UNSOL_SOURCE_REGISTER function registers for unsolicited messages from a specific target station. If successful, all messages from the station specified by
dtsa
are delivered to pfCallback
, with the dwCallbacK
passed along for the caller's convenience. An application can have multiple simultaneous targets registered. No other application will receive any messages from the registered station.DTL_RETVAL LIBMEM DTL_UNSOL_SOURCE_REGISTER(
handle,
dtsa
, pfCallback
, dwCallback
, dwTimeout
)DWORD* handle ; | /* pointer to handle library will set |
DTSA_TYPE* dtsa ; | /* DTSA pointing to source of messages |
DTL_UNSOL_CALLBACK pfCallback ; | /* pointer to function |
DWORD dwCallback ; | /* callback identifier |
DWORD dwTimeout ; | /* timeout value |
Provide Feedback