beautypg.com

Msg_zero_mask – Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual

Page 244

background image

API Library of Routines

Appendix B

MSG_ZERO_MASK

B-113

Zeros all bits in the specified mask.

C Syntax

#include

unsigned MSG_ZERO_MASK (mask)

unsigned *mask;

Parameters

mask

This is the address of the read or write mask used with the MSG_WAIT
function. This function will reset all bits in the mask.

Returns

Status

Symbolic Name

Meaning

0

CC_SUCCESS

Operation successful

Description

Use the MSG_ZERO_MASK function to zero bits in the message
read/write masks.

C Example

See MSG_WAIT on page B-102 for a complete example of asynchronous
message processing.

MSG_ZERO_MASK