pfn (PFNTHREAD) - input

      Address of the code to be executed when the thread begins execution.

      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.


    [Back] [Next]