.


:




:

































 

 

 

 


. lpsa




lpsa .

dwStackSize . 0 , .

lpStartAddr ( ), . 32- . DWORD, . (ThreadFunc) :

DWORD WINAPI ThreadFunc(LPVOID)

lpThreadParm , , .

dwCreationFlags 0, CreateThread. CREATE_SUSPENDED , ResumeThread.

lpThreadId DWORD, ; Windows 9x Windows NT 3.51 NULL .

, ExitThread, . , , . DLL, DllMain ( 4) DLL_THREAD_DETACH "" .

VOID ExitThread(DWORD dwExitCode)

, .

TerminateThread, , DLL . , ; TerminateThread . TerminateThread , TerminateProcess.

, (, ), , CloseHandle . , , , .

BOOL GetExitCodeThread(HANDLE hThread, LPDWORD lpExitCode)

lpExitCode , . , STILL_ACTIVE.





:


: 2015-09-20; !; : 449 |


:

:

- - , .
==> ...

1659 - | 1615 -


© 2015-2024 lektsii.org - -

: 0.009 .