Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Learners Question...

Status
Not open for further replies.

WhiteTiger

Programmer
Jun 26, 2001
605
US
How do you find out what parameters there are in an API call...you constantly see things like
Code:
Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)

But how do you guys know that,
Code:
Private Const VK_MENU = &H12
Private Const VK_SNAPSHOT = &H2C
Private Const KEYEVENTF_KEYUP = &H2
Public Const SnapScreen = &H0
Public Const SnapWindow = &H1
should equal what it does for doing certian things?...

Is there an API resource that you can look up examples on how all the API calls are used and stuff like that? Regards,
Anth:cool:ny
----------------------------------------
"You say [red]insanity[/red] like it's a BAD THING!"
 
Look in the API viewer. That should have some API calls and their parameters there.

For the other ones that are not there, the MSDN library should have them. If u dont have the MSDN library, go to msdn.microsoft.com.

The constants that you see are also in the API viewer...well some of them. But all of them can be found in the MSDN library.

Hope that helps.

P.S. Insanity is only BAD to those who are not insane.
 
The api viewer will show these. personally, I use the
api guide/api toolshed from allapi.net.
Hope this helps
Dragnut
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top