| CAsyncSocket:: AllocateHandle() |

Private Function | Declared in: AsyncSocket.h

## Declaration

    void AllocateHandle();

## Description

Allocate ourself a window

## Function Body

    try
    {
        if (GetThreadManager())
            //We are
            m_hLocalWindowHandle=GetThreadManager()->GetWindowHandle();
        else
            //Single threaded
            m_hLocalWindowHandle=m_WindowHandle;
    }
    ERROR_HANDLER("AllocateHandle")

## See Also

Class Overview | CSpoofBase | Hierarchy Chart

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.