IPCM_GetMsgType(msg) == IPCM_MSG_TYPE_CLIENT_HELLO) {
IPCM_GetType(msg) == IPCM_MSG_REQ_CLIENT_HELLO) {
ProcessMsg(HWND hwnd, PRUint32 pid, const ipcMessage *msg){    LOG(("ProcessMsg [pid=%u len=%u]\n", pid, msg->MsgLen()));    ipcClient *client = GetClientByPID(pid);    if (client) {        //        // if this is an IPCM "client hello" message, then reset the client        // instance object.        //        if (msg->Target().Equals(IPCM_TARGET) &&            IPCM_GetMsgType(msg) == IPCM_MSG_TYPE_CLIENT_HELLO) {            RemoveClient(client);            client = NULL;        }    }    if (client == NULL) {        client = AddClient(hwnd, pid);        if (!client)            return;    }    IPC_DispatchMsg(client, msg);}