Category: Windows API
Published: 17 May 2013
My very recent blog post "How to use EndTask"
showed you how to use the windows api call "EndTask." This loaded the actual procedure from the user32.dll because the function wasn't declared in windows.h. Implementing an EndTask function is actually very simple and likely how Windows implements it internally. Here's the code:
You're still going to need to include windows.h for obvious reasons. This implementation was found used in ReactOS