/*1* Active Template Library Window Functions2*3* Copyright 2006 Robert Shearman for CodeWeavers4*5* This library is free software; you can redistribute it and/or6* modify it under the terms of the GNU Lesser General Public7* License as published by the Free Software Foundation; either8* version 2.1 of the License, or (at your option) any later version.9*10* This library is distributed in the hope that it will be useful,11* but WITHOUT ANY WARRANTY; without even the implied warranty of12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU13* Lesser General Public License for more details.14*15* You should have received a copy of the GNU Lesser General Public16* License along with this library; if not, write to the Free Software17* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA18*/1920#ifndef __WINE_ATLWIN_H__21#define __WINE_ATLWIN_H__2223typedef struct _ATL_WNDCLASSINFOA_TAG24{25WNDCLASSEXA m_wc;26LPCSTR m_lpszOrigName;27WNDPROC pWndProc;28LPCSTR m_lpszCursorID;29BOOL m_bSystemCursor;30ATOM m_atom;31CHAR m_szAutoName[sizeof("ATL:") + sizeof(void *) * 2];32} _ATL_WNDCLASSINFOA;3334typedef struct _ATL_WNDCLASSINFOW_TAG35{36WNDCLASSEXW m_wc;37LPCWSTR m_lpszOrigName;38WNDPROC pWndProc;39LPCWSTR m_lpszCursorID;40BOOL m_bSystemCursor;41ATOM m_atom;42WCHAR m_szAutoName[sizeof("ATL:") + sizeof(void *) * 2];43} _ATL_WNDCLASSINFOW;4445ATOM WINAPI AtlModuleRegisterWndClassInfoA(_ATL_MODULEA *pm, _ATL_WNDCLASSINFOA *wci, WNDPROC *pProc);46ATOM WINAPI AtlModuleRegisterWndClassInfoW(_ATL_MODULEW *pm, _ATL_WNDCLASSINFOW *wci, WNDPROC *pProc);4748HDC WINAPI AtlCreateTargetDC(HDC hdc, DVTARGETDEVICE *ptd);49void WINAPI AtlHiMetricToPixel(const SIZEL *lpSizeInHiMetric, LPSIZEL lpSizeInPix);50void WINAPI AtlPixelToHiMetric(const SIZEL *lpSizeInPix, LPSIZEL lpSizeInHiMetric);5152#endif /* __WINE_ATLWIN_H__ */535455