com, could be a serial comm port or ms activex com object
both of them available in ams
if youre wondering about serials ports take a look in the search, ive already posted after
viewtopic.php?f=18&t=431&p=2494&hilit=serial+port#p2494
So, its using wide character reference, ams isnt unicode so you can have troubles here, and theyre using pointers to string so you must use AMSWMemory plugin or Alien extension to pass the pointer reference instead the string itself.All parameters are 16-bit Unicode strings.
All return values are either 16-bit Unicode strings or 32-bit boolean values.
Functions are called with stdcall calling convention.
String parameters are passed using pointers to wide strings:
wchar_t* or wchar16_t* in C++
PWideChar in Delphi and Lazarus/Free Pascal