IP_ProcessMessage

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `IP_ProcessMessage`

`IP_ProcessMessage` -- classifies messages for `IP_Receive`.

## Syntax

``int IP_ProcessMessage`(IP_Task* myself, int rcvid, void* msgbuffer, int length, IP_MsgInfo* msginfo);`

## Arguments

`myself`

  A task structure referring to the current task.

`rcvid`

  The `rcvid` from the most recently received message.

`msgbuffer`

  The most recently received message.

`length`

  The length of msgbuffer.

`msginfo`

  A structure to be filled with message information.

## Returns

The message type.

## Description

This function is used by `IP_Receive` to classify messages. Do not call this function directly.

## See Also

Receiving Messages and Events, `IP_Receive`

Prev | Home | Next
`IP_PhotonGUIHandler` | Up | `IP_PulseDestroy`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.