#include <dce/dce_msg.h>unsigned char *dce_msg_get( unsigned32 message);
The dce_msg_get() routine is a ``convenience'' form of the dce_msg_get_msg() routine. Like dce_msg_get_msg(), dce_msg_get() retrieves the text for a specified message (which is a 32-bit DCE message ID as described in dce_msg_intro(3dce)). However, dce_msg_get() does not return a status code; it either returns the specified message successfully or fails (aborts the program) with an assertion error if the message could not be found or memory could not be allocated.
The routine implicitly determines the correct message catalog in which to access the specified message, and opens it; the caller only has to call this routine.
The routine first searches the appropriate message catalog for the message, and then (if it cannot find the catalog) searches the in-memory message table, if it exists.
The message, if found, is returned in allocated space to which the routine returns a pointer. The pointed-to space must be freed by the caller using free(3).
A message ID with an invalid technology or component was specified.
Functions: dce_msg_define_msg_table(3dce), dce_msg_get_msg(3dce), dce_msg_get_default_msg(3dce).