Windows API

Is there anywhere I can EASILY find how to translate Windows API calls to Windows NT API?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I think you got to check the SDK
As i know, most of the Windows API's work in windows NT.

The diference resides in the fact that some win API's are only availiable for Win 95/98 other for win 98 and other for win NT.

Can you be a bit more specific, what realy is the API you whant to use in NT??
Do you mean how do find out which APIs are available only for NT?  The API documentation will specify which platform the function is designed for.  Most APIs are designed for both operating systems.
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Bob LearnedCommented:
Are you talking Windows 3.x to Windows NT?  If you are, then data types, such as Integer have been changed to Long (16-bit to 32-bit).  But this is not true for all API calls, so you have to be careful.
A word of caution. WinNT sp6 and above (Win2000) doesn't support 16-bit functionality any longer. That means that if you intend to run your program in the future it must be ported to Win32 API. When you say Windows API I presume you mean 16-bit API (Windows 3.11 and such).
The NT specific API revolves mostly around network- and security-specific functionality. Apart from that most functions lie under the Win32 API and is available both for ASCII and UNICODE. If your program only does GUI, db-access, disk-access, registry, socket-comm or other basic features you shouldn't have to worry about WinNT API, only Win32.
Pellep statement is true.  There is a file called 'Win32api.csv' that ships with Visual Studio.  You can find it in the D:\Program Files\Microsoft Visual Studio\VC98\Lib\ folder.  It is in Excel spreadsheet format and has a column for the following:

Element (API Name)
Windows NT Version
Window CE

(just to name a few)

Under these particular columns you can determine if the API is available for the O/S.  This is not a small file it contains 11,187 entries.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
broadbent are you there?
broadbentAuthor Commented:
You guys are quick. I only just asked the q and already I have a conversation.

I've just started debugging a VB6 app in Windows NT and noticed some subtle changes in the Windows Registry.

eg HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics

MenuFont varies between Windows98 and WindowsNT.

Is there any reason for this?

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.