![]() |
GetIndexByHWND() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Private Function |
Declared in: SocketThreadManager.h |
Declaration
int GetIndexByHWND(
HWND hHandle) const;
DescriptionGet the socket array position by the window handle
Function Body
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)
See Also
This web site was generated
using Surveyor V4.50.811.1. Click
here
for more information. |
Site content copyright © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001. |