Function dds_get_guid

Function Documentation

dds_return_t dds_get_guid(dds_entity_t entity, dds_guid_t *guid)

Returns the GUID that represents the entity in the network, and therefore only supports participants, readers and writers.

Parameters
  • entity[in] Entity of which to get the instance handle.

  • guid[out] Where to store the GUID.

Return values
  • DDS_RETCODE_OK – Success.

  • DDS_RETCODE_ILLEGAL_OPERATION – The operation is invoked on an inappropriate object.

  • DDS_RETCODE_ERROR – An internal error has occurred.

Returns

A dds_return_t indicating success or failure.