Declaration
unsigned int (_stdcall * CreateThread)(void * Proc, void * Par);

Parameters
Proc Address of the executive procedure of a new thread. The procedure must be defined as follows:

void _stdcall ProtocolThread(void * Par)

Warning: the Stdcall call convention is required !!!

Par Pointer to the parameters transferred to a new thread.

Description
The function creates and initializes a new thread.
Return value
ID of the thread.
Napíšte komentár