CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLC_ErrorCode CHAI_Warning_Send ( CPENDPOINT const *const  pOptionalSource,
WarningCodes const  code,
WarningDomains const  domain,
CPCHAR8 const *const  utf8Title,
CPCHAR8 const *const  utf8Content 
)

Broadcast an warning message.

Parameters
[in]pOptionalSourceOptional source of the warning message
[in]codeCombination of WarningCodes values
[in]domainRelated domain
[in]utf8TitleMain description of the warning
[in]utf8ContentAdditional description of the warning
Returns
Standard CHAILink Client return code. See CLC_ErrorCode enumeration.
Warning
This function can only be called in CopperLan context. This means in the pseudo task CPDoProcess(), in notification handlers or in asynchronous return handlers and not in SystemDoProcess() for instance.