diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/msgqmaxcheck_8c_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/msgqmaxcheck_8c_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,39 @@ + + + + +TB9.2 Example Applications: examples/PIPS/opencmessagequeuelibraryex/engine/src/msgqmaxcheck.c Source File + + + + + +

examples/PIPS/opencmessagequeuelibraryex/engine/src/msgqmaxcheck.c

00001 
+00010 #include <_ansi.h>
+00011 #include "MsgQInternal.h"
+00012 
+00013 
+00014 /**************************************************************************
+00015 *  MsgQMaxCheck
+00016 *  Function: This function checks the maximum number of messages in a
+00017 ***************************************************************************/
+00018 
+00019 EXPORT_C int MsgQMaxCheck(ULONG qName, int* err) {
+00020         MSGQ_INFO* pMsgQInfo = NULL;
+00021 
+00022         if ((pMsgQInfo = MsgQTableLookup(qName)) != NULL) {
+00023                 *err = OK;
+00024                 return (pMsgQInfo->maxNumMsgs);
+00025         }
+00026         else
+00027                 *err = KMsgQLibQIdErr;
+00028 
+00029         return(ERROR);
+00030 }
+00031 
+
+
Generated by  + +doxygen 1.6.2
+ +