Solved

What does the prefixes in API calls tell me?

Posted on 1998-11-14
2
212 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel - Save a copy of work book 13 91
Problem to With line 4 76
which modules are active in VB6 project? 6 52
VBA: copy range dynamically based on config sheet v3 6 33
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
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 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…

730 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