- Category: Windows API
- Published: Friday, 17 May 2013 16:24
Recently someone in the #winapi channel I frequent ask about EndTask. It doesn't seem to be declared in windows.h. Well, it was a late comer to the API after Windows XP and it doesn't even seem to be in windows.h for Visual Studio 2012's included SDK either.Add a comment
Recently a user in the irc channel I frequently visit had some trouble understanding this, so I decided it would be a simple thing to show that others could benefit. Using GetProcAddress is really quite simple, but the way you declare the function you're getting often looks alien to a beginner.
"Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D." - Click here to visit SDL2's official website.
"The Windows API, informally WinAPI, is Microsoft's core set of application programming interfaces (APIs) available in the Microsoft Windows operating systems. The name Windows API collectively refers to a number of different platform implementations that are often referred to by their own names (for example, Win32 API). Almost all Windows programs interact with the Windows API; on the Windows NT line of operating systems, a small number (such as programs started early in the Windows startup process) use the Native API." -- Wikipedia Article