For symbol instance present in drawing, we can identify name of parent symbol using API ProDtlsymdefdataNameGet.
This API gives correct name in case of Symbol Definition having name as Test. In case of Symbol Definition Name having Test (2) or Test(2), it is not giving full name and only provides Test as symbol Definition Name.
Am I missing something or is this way it works? Any suggestion would be of great help.