![]() |
GetIndexByHWND() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Private Function |
Declared in: SocketThreadManager.h |
int GetIndexByHWND( HWND hHandle) const;
Get the socket array position by the window handle
try { for (int iCounter=0;iCounter<m_iThreadCount;++iCounter) if (m_pThreadData[iCounter].hWindowHandle==hHandle) //Return it return iCounter+1; //Nothing return 0; } ERROR_HANDLER_RETURN("GetIndexByHWND",0)
![]() |
Site content copyright © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001. |