CreateThread() in windows Kernel32.dll to create multithread Application.
How can i pass multiple parameters and how can i give an return value instead for just VOID?
Any data pointer can be casted to 'void *', so you can pass a pointer to anything, such as a struct or a class, and cast it back to its original type on the other side. Likewise, if you have some complex result to return to the main thread, you can pass it back through the object.