XChgCreateP (FUN)ΒΆ

FUNCTION XChgCreateP : CAA.HANDLE

Creates a message exchange of the specified type with Memory from PLC ctNumPrios = 0 AND ctNumMsg <> 0 => Resource Exchange ctNumPrios <> 0 AND ctNumMsg = 0 => NormalExchange

InOut:

Scope

Name

Type

Return

XChgCreateP

CAA.HANDLE

Input

szBlockSize

CAA.SIZE

ctNumPrios

CAA.COUNT

szMemSize

CAA.SIZE

pMemory

CAA.PVOID

eSendMsg

CB.EVENT

eReceiveMsg

CB.EVENT

eXchgEmpty

CB.EVENT

peError

POINTER TO ERROR