Solved

What does the prefixes in API calls tell me?

Posted on 1998-11-14
2
207 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 50 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now