# op\_stroff

Convert operand to an offset in a structure (for the explanations of 'ea' and 'n' please see [op\_bin](https://docs.hex-rays.com/9.0sp1/developer-guide/idc/idc-api-reference/alphabetical-list-of-idc-functions/696)()) strid - id of a structure type strpath - instead of strid, it is possible to specify a full strpath like this: "struct.mem1.mem2" delta - struct offset delta. usually 0. denotes the difference between the structure base and the pointer into the structure.

success op\_stroff(long ea, int n, long strid, long delta); success op\_stroff(long ea, int n, string strpath, long delta);
