The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How do I use an API?, Need help with APIs
davidnerdtechy
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 02:56 AM