C++ How to pass serveral paramters to a thread? [HANDLE hThread] : <pre><code>HANDLE hThread = CreateThread(NULL, 0, ManageThread, (LPVOID)lParam, 0, NULL);
WaitForSingleObject(hThread, INFINITE);
</code></pre>

<p>How can I pass serveral HANDLE param via lParam?</p>

<p>I have to use serveral HANDLE variable on hThread.</p>

<pre><code>DWORD WINAPI ManageThread(LPVOID lParam)
{
    HANDLE hPingpong = ...; //From lParam;
    HANDLE hVolley = ...; //From lParam;
    ...
    HANDLE hBasket = ...; //From lParam;
    ...

    return GetLastError();
}
</code></pre>

<p>I would appreciate it if you could help me generate lParam.</p>
