SysEthernetBurstReceiveReserve (FUN)¶
FUNCTION SysEthernetBurstReceiveReserve : UDINT
Reserves memory slots to receive ethernet frames. Must be called before SysEthernetBurstReceiveGetMemory.
- InOut:
Scope
Name
Type
Comment
Return
SysEthernetBurstReceiveReserveUDINTReturns how many packets are actually available. The value will be between 0 and “count”, inclusive.
Input
hAdapterSysTypes.RTS_IEC_HANDLEHandle of the adapter. Must be retrieved using SysEthernetAdapterOpen
countUDINTHow many slots should be reserved at max
pResPOINTER TO SysTypes.RTS_IEC_RESULT
Result of the operation