Read

Read 1:

This method reads a message from the channel.

Syntax

METHOD Read : HRESULT
VAR_INPUT
    pPayload : PVOID;
    nPayload : UDINT;
END_VAR

Read 2: Return value

Name

Type

Description

Read

HRESULT

Indicates whether the call was successful.

Read 3: Inputs

Name

Type

Description

pPayload

PVOID

Pointer to the target memory.

nPayload

UDINT

Size of the target memory.