Programming Guide



sm_msg_del

Removes a class of messages from memory

#include <smerror.h>
int sm_msg_del(int class);

class
Specifies the class of messages to remove, where 0-7 are reserved for user-defined message classes, and the following classes, defined in smerror.h, are reserved for Panther:

DM_MSGS

UT_MSGS

SM_MSGS

WB_MSGS

TP_MSGS

If the message file is not divided into sections, supply a value of 0.


Returns

Description

sm_msg_del removes the specified class of messages from memory. All messages of this class are thereafter inaccessible to the application unless explicitly reloaded through sm_msg_read.

See Also

sm_msg_read, sm_msg_get, sm_msgfind