メッセージ用のメモリ領域を開放します。
void PalmLsnFree( struct a_palm_msg * const msg )
msg 解放される a_palm_msg インスタンス。
次の例は、メッセージ構造体の割り当て、メッセージの処理、PalmLsnFree を使用したリソースの解放を実行するコードの一部です。
a_palm_msg * ulMsg; ... // Allocate the message structure ulMsg = PalmLsnAllocate(); ... // Fill the message fields ret = PalmLsnDupMessage(ulMsg, msgBody); ... // Process the message ret = PalmLsnProcess(ulMsg, configDb, NULL, handled); ... // Free the message PalmLsnFree(ulMsg); |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |