The MASM Forum

General => The Campus => Topic started by: deeR44 on January 22, 2023, 02:53:34 PM

Title: Windows API Procs
Post by: deeR44 on January 22, 2023, 02:53:34 PM
Where would I look for the API procs and how to use them?
Title: Re: Windows API Procs
Post by: NoCforMe on January 22, 2023, 04:28:02 PM
You're referring to the Windows API, right? (Win32, I'm assuming.)

Look here (https://learn.microsoft.com/en-us/previous-versions//aa383688(v=vs.85)?redirectedfrom=MSDN). There are several entry points to this info; this is one of the more easily accessible ones (functions in alphabetical order).

Note: Because of the way those pages (now known as "Microsoft Learn") are organized (or not!), the search boxes won't always find what you're looking for. Some pages will have two search boxes; if one doesn't work, try the other one. Also, the link I gave you is to a "previous versions" page. If you click through to a function you're looking for, you'll then be on a non-previous version page, which gives you different search results. It's all very confusing, but there's a ton of info there.
Title: Re: Windows API Procs
Post by: hutch-- on January 22, 2023, 04:35:18 PM
Hi Deer44,

I think what you are looking for is the Windows API reference. You would look for an old Winhelp file called WIN32.HLP which has a very big list of Windows API functions. Go to this link in the forum,

http://masm32.com/board/index.php?topic=5201.0

An get JimG's winhlpfix.zip file so you can run Winhelp.

With WIN32.HLP, you will get the basic API functions. For later stuff, you will have to go to MSDN.
Title: Re: Windows API Procs
Post by: NoCforMe on January 22, 2023, 04:36:55 PM
Quote from: hutch-- on January 22, 2023, 04:35:18 PM
For later stuff, you will have to go to MSDN Microsoft Learn.
Title: Re: Windows API Procs
Post by: hutch-- on January 22, 2023, 05:10:05 PM
I posted MSDN as it has been around for a long time and it will get you to whatever Microsoft calls it at any current time.

For later stuff, you will have to go to MSDN Microsoft Learn.

This is the general purpose URL that will get you there.

https://docs.microsoft.com/en-us/windows/win32/apiindex/windows-api-list (https://docs.microsoft.com/en-us/windows/win32/apiindex/windows-api-list)

Title: Re: Windows API Procs
Post by: NoCforMe on January 22, 2023, 05:48:32 PM
That's another good entry point to that gigantic information repository.
Title: Re: Windows API Procs
Post by: deeR44 on January 22, 2023, 06:12:59 PM
What program do I need to use ".HLP" FILES. I have 22 of these files on my computer and can't use a one of them.
Title: Re: Windows API Procs
Post by: Vortex on January 22, 2023, 07:35:18 PM
Hi deeR44,

As Hutch explained, you can use the fix provided by jimg to view the .hlp files on Windows 10 :

http://masm32.com/board/index.php?topic=5201.0

Windows 7 has native help ( .hlp ) file support.