Skip to content
Start free evaluation

pdcomm_secs1_event_info

Function

Describes an event.

PdcommStatus pdcomm_secs1_event_info(const PdcommSecs1Event *event, PdcommSecs1EventInfo *info)

Declared in: #include <pdcomm_secs1.h>

Parameters

NameDescription
eventLive event.
infoCaller storage. Set info->struct_size to sizeof(PdcommSecs1EventInfo) or larger; on success every field is written and struct_size is set to the size written.

Returns

#PDCOMM_OK on success; #PDCOMM_INVALID_ARGUMENT when event or info is NULL or info->struct_size is too small.

Notes

  • Thread safety: an event is immutable and is not bound to the endpoint's thread. Reads may run concurrently on any thread; destruction must be synchronized with them.