Obtaining the ID of the First Graph
Obtains the graph ID. This API is defined in c_graph.h.
Syntax
Common API between C and C++: HIAI_StatusT HIAI_GetFirstGraphId(uint32_t *firstGraphID);
Parameter Description
Parameter |
Description |
Value Range |
---|---|---|
firstGraphID |
Pointer to the ID of the first graph |
- |
Return Value
Common API between C and C++: Error code
Error Codes
No. |
Error Level |
Error Code |
Description |
---|---|---|---|
1 |
HIAI_INFO |
HIAI_OK |
The running is OK. |
2 |
HIAI_ERROR |
HIAI_GRAPH_GET_GRAPHID_ERROR |
There is an error in obtaining the graph ID. |
Calling Example
uint32_t first_graph_id; HIAI_GetFirstGraphId(&first_graph_id);
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot