Function GenieNode_getSampler

Function Documentation

Genie_Status_t GenieNode_getSampler(const GenieNode_Handle_t nodeHandle, GenieSampler_Handle_t *nodeSamplerHandle)

A function to get the sampler handle associated with a node.

Parameters
  • nodeHandle[in] A node handle.

  • nodeSamplerHandle[in] A sampler handle tied to nodeHandle. Must not be NULL.

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: Node handle is invalid.

  • GENIE_STATUS_ERROR_INVALID_ARGUMENT: At least one argument is invalid.

  • GENIE_STATUS_ERROR_GET_HANDLE_FAILED: Get sampler failure.