Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Server-side Scripting _ How do I use an API?

Posted by: davidnerdtechy Dec 4 2020, 11:53 AM

So, I'm an extremely elementary programmer. I'm not sure where to even start with an API. I have played around with HTML and know a little bit of C++ and C# and have been programming in Powershell for a few years now. I'm definitely not a natural programmer. But, I am trying to figure out how to use APIs that are documented in our vendor documentation to display status of the product. (I believe these APIs should be used on webpages, so that's why I'm posting to an HMTL forum.) Here is an example piece of code from the manual.

DWORD RFAXAPI RFaxStatusGetValues (
IN RFAXSTATUSHANDLE hServer,
IN unsigned long ulCount,
IN OUT STATUSVALUEENTRY *aValues
);

How would I use that to get the status of the server? I'm guessing the above looks like a function of some sort. So, I would be calling a dword (double word?) of type RFAXAPI that has the name RFaxStatusGetValues... I think that's how I would read that. Then I would have some code somewhere that would be referencing the above code. Somehow I have to point it at my server. The above code doesn't have my server name in it at all. So, wondering if I could get some guidance.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)