Jungo WinDriver  
Official Documentation

◆ WDS_IpcMulticast()

DWORD DLLCALLCONV WDS_IpcMulticast ( _In_ DWORD  dwMsgID,
_In_ UINT64  qwMsgData 
)

Sends a message to all processes that were registered with the same group ID as the sending process.

The message won't be sent to the sending process.

Parameters
[in]dwMsgIDA 32 bit unique number defined by the user application. This number should be known to all user-applications that work under WinDriver IPC and share the same group ID
[in]qwMsgDataOptional - 64 bit additional data from the sending user-application
Returns
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise
DWORD ipc_menu_option; /* Can be MENU_IPC_SEND_UID_UNICAST
MENU_IPC_SEND_SUBGROUP_MULTICAST
MENU_IPC_SEND_MULTICAST */
DWORD recipientID = 0x1;
DWORD messageID = 0x64;
UINT64 messageData = 0x32;
DWORD dwStatus;
switch (ipc_menu_option)
{
case MENU_IPC_SEND_UID_UNICAST:
dwStatus = WDS_IpcUidUnicast(recipientID, messageID, messageData);
break;
case MENU_IPC_SEND_SUBGROUP_MULTICAST:
dwStatus = WDS_IpcSubGroupMulticast(recipientID, messageID,
messageData);
break;
case MENU_IPC_SEND_MULTICAST:
dwStatus = WDS_IpcMulticast(messageID, messageData);
break;
}
if (WD_STATUS_SUCCESS != dwStatus)
{
printf("Failed sending message. Error [0x%lx - %s]\n",
dwStatus, Stat2Str(dwStatus));
return;
}
printf("Message sent successfully\n");
const char *DLLCALLCONV Stat2Str(_In_ DWORD dwStatus)
Retrieves the status string that corresponds to a status code.
DWORD DLLCALLCONV WDS_IpcUidUnicast(_In_ DWORD dwRecipientUID, _In_ DWORD dwMsgID, _In_ UINT64 qwMsgData)
Sends a message to a specific process with WinDriver IPC unique ID.
DWORD DLLCALLCONV WDS_IpcMulticast(_In_ DWORD dwMsgID, _In_ UINT64 qwMsgData)
Sends a message to all processes that were registered with the same group ID as the sending process.
DWORD DLLCALLCONV WDS_IpcSubGroupMulticast(_In_ DWORD dwRecipientSubGroupID, _In_ DWORD dwMsgID, _In_ UINT64 qwMsgData)
Sends a message to all processes that registered with the same sub-group ID.
@ WD_STATUS_SUCCESS
[0] Operation completed successfully
Definition: windrvr.h:1066
unsigned __int64 UINT64
Definition: windrvr.h:314