Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

What does the prefixes in API calls tell me?

Posted on 1998-11-14
2
Medium Priority
?
223 Views
Last Modified: 2010-04-30
Could you explain what the prefixes in API calls means?

E.G. nDrive, hFile, lpCreationTime, lpszLongPath and fPictureOwnsHandle.
What does the n, h, lp, lpsz and f mean?
0
Comment
Question by:Olli083097
2 Comments
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 150 total points
ID: 1444867
The prefix is the type of the variable and it's purpose:

n - Integer variable, though in 32 bit windows it will mean long
h - handle of an object - file, window, ect.., also long
lp - pointer to something, usualy a string or a type
lpsz - pointer to a string, string type for VB
f - flags, specifies that the variable is a bitfield that hold the characteristics for an object or for something else, usualy 32bit
0
 

Author Comment

by:Olli083097
ID: 1444868
Thanx!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question