How do I use an API?, Need help with APIs |
How do I use an API?, Need help with APIs |
davidnerdtechy |
Dec 4 2020, 11:53 AM
Post
#1
|
Group: Members Posts: 1 Joined: 4-December 20 Member No.: 27,670 |
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. |
Lo-Fi Version | Time is now: 25th April 2024 - 01:34 AM |