# set\_struc\_idx

change structure index id - structure type ID index - new index of the structure See [get\_first\_struc\_idx](https://docs.hex-rays.com/8.4/developer-guide/idc/idc-api-reference/alphabetical-list-of-idc-functions/371)() for the explanation of structure indices and IDs. returns: !=0 - ok

long set\_struc\_idx(long id, long index);
