Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ap/apgetmessage.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ap/apgetmessage.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ap/apgetmessage.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ap/apgetmessage.html on line 8

ApGetMessage()

Get a message from a message database

Synopsis:

char *ApGetMessage( ApMsgDBase_t *db,
                    const char *tag );

Arguments:

db
A pointer to a message database, returned by ApLoadMessageDB().
tag
The tag for the message that you want to get.

Library:

Ap

Description:

A message database is a file containing textual messages. ApGetMessage() can be used to retrieve the message with the given tag from the database specified by db.

Returns:

The message corresponding to the tag, or NULL if the tag wasn't found in the database.


Note: Don't change the message string.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

ApCloseMessageDB(), ApLoadMessageDB()

International Language Support chapter of the Photon Programmer's Guide


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ap/apgetmessage.html on line 120

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ap/apgetmessage.html on line 120