The possibility exists that if the API call syntax exists for a DLL that is not exposed via COM that my HABobjects DLL method can call your DLL's API. But first you need to know how to call the specific API.
If the DLL you have is a COM library then you can use CreateObject like my example shows. But if your DLL is not exposed vias COM then you need to use my example code and substitute your DLL's API call.
My code call an API (GetCurrentProcessId) from the Kernel32.dll
$HABObject.Win32API ("kernel32", "GetCurrentProcessId", "", "I" )
You code will need to call whatever your API is...
$HABObject.Win32API ("ehllapi", "YourAPIname", "", "I" ) with the proper input and output flags.