|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Visual Studio 2008
Call this function to terminate the currently executing thread.
Must be called from within the thread to be terminated.
For more information on AfxEndThread, see the article Multithreading: Terminating Threads.