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.
DWORD ipc_menu_option;
DWORD recipientID = 0x1;
DWORD messageID = 0x64;
DWORD dwStatus;
switch (ipc_menu_option)
{
case MENU_IPC_SEND_UID_UNICAST:
break;
case MENU_IPC_SEND_SUBGROUP_MULTICAST:
messageData);
break;
case MENU_IPC_SEND_MULTICAST:
break;
}
{
printf("Failed sending message. Error [0x%lx - %s]\n",
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