This documentation is archived and is not being maintained.
Visual Studio 2005
Returns a pointer to a CWnd object when given a handle to a window. If a CWnd object is not attached to the handle, a temporary CWnd object is created and attached.
An HWND of a Windows window.