Okay.. i guess i just figured it out myself.

I have found the DXGetErrorString9A function but i didn't know in which unit it was declared,
until i checked the official header filename at MSDN. It seems i needed to include DXErr9.pas.