Read

This method reads a message from the channel.
Syntax
METHOD Read : HRESULT
VAR_INPUT
pPayload : PVOID;
nPayload : UDINT;
END_VAR
Return value
Name | Type | Description |
---|---|---|
Read | HRESULT | Indicates whether the call was successful. |
Inputs
Name | Type | Description |
---|---|---|
pPayload | PVOID | Pointer to the target memory. |
nPayload | UDINT | Size of the target memory. |