GetTopic

GetTopic 1:

Syntax

METHOD GetTopic : BOOL
VAR_INPUT
    pTopic     : POINTER TO STRING; // topic buffer
    nTopicSize : UINT; // maximum size of topic buffer in bytes
END_VAR

GetTopic 2: Return value

Name

Type

Description

GetTopic

BOOL

 

GetTopic 3: Inputs

Name

Type

Description

pTopic

POINTER TO STRING

The memory address for the buffer into which the topic is to be copied is specified here.

 

nTopicSize

UINT

The maximum available buffer size (in bytes) is specified here.