# tibemsTopicInfo_GetPendingMessageCount

Function

## Purpose

Get the total number of pending messages for this topic.

## C Declaration

    tibems_status tibemsTopicInfo_GetPendingMessageCount(
        tibemsTopicInfo topicInfo,
        tibems_long* count);

## COBOL Call

    CALL "tibemsTopicInfo_GetPendingMessageCount"
     USING BY VALUE topicInfo,
           BY REFERENCE size,
           RETURNING tibems-status
    END-CALL.

## Parameters

Parameter | Description
--- | ---
`topicInfo` | Get the number of messages for this topic.
`count` | Stores the number of messages.

## See Also

`tibemsQueueInfo_GetPendingMessageCount`

Copyright © Cloud Software Group, Inc. All rights reserved.