/*1* Copyright 2013 Qian Hong for CodeWeavers2*3* This library is free software; you can redistribute it and/or4* modify it under the terms of the GNU Lesser General Public5* License as published by the Free Software Foundation; either6* version 2.1 of the License, or (at your option) any later version.7*8* This library is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU11* Lesser General Public License for more details.12*13* You should have received a copy of the GNU Lesser General Public14* License along with this library; if not, write to the Free Software15* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA16*/1718#include <stdarg.h>19#include <stdio.h>2021#define COBJMACROS22#define CONST_VTABLE2324#include <windef.h>25#include <winbase.h>26#include <winuser.h>2728#include <atlbase.h>29#include <mshtml.h>3031#include <wine/test.h>3233static void test_ax_win(void)34{35BOOL ret;36WNDCLASSEXW wcex;37static HMODULE hinstance = 0;3839ret = AtlAxWinInit();40ok(ret, "AtlAxWinInit failed\n");4142hinstance = GetModuleHandleA(NULL);4344memset(&wcex, 0, sizeof(wcex));45wcex.cbSize = sizeof(wcex);46ret = GetClassInfoExW(hinstance, L"AtlAxWin80", &wcex);47ok(ret, "AtlAxWin80 has not registered\n");48ok(wcex.style == (CS_GLOBALCLASS | CS_DBLCLKS), "wcex.style %08x\n", wcex.style);4950memset(&wcex, 0, sizeof(wcex));51wcex.cbSize = sizeof(wcex);52ret = GetClassInfoExW(hinstance, L"AtlAxWinLic80", &wcex);53ok(ret, "AtlAxWinLic80 has not registered\n");54ok(wcex.style == (CS_GLOBALCLASS | CS_DBLCLKS), "wcex.style %08x\n", wcex.style);55}5657START_TEST(atl)58{59CoInitialize(NULL);6061test_ax_win();6263CoUninitialize();64}656667