pfn (PFNTHREAD) - input
This function is called near, accepts a single parameter param, and returns a doubleword exit status (see DosExit). Returning from the function without executing DosExit causes the thread to end. In this case, the exit status is the value in the EAX register when the thread ends.