mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 12:00:45 +00:00
atl100: Fixed register class names in AtlAxWinInit.
This commit is contained in:
parent
c02bf8817e
commit
ef601fcb7e
|
@ -86,7 +86,8 @@ static LRESULT CALLBACK AtlAxWin_wndproc( HWND hWnd, UINT wMsg, WPARAM wParam, L
|
|||
BOOL WINAPI AtlAxWinInit(void)
|
||||
{
|
||||
WNDCLASSEXW wcex;
|
||||
const WCHAR AtlAxWin[] = {'A','t','l','A','x','W','i','n',0};
|
||||
const WCHAR AtlAxWin100[] = {'A','t','l','A','x','W','i','n','1','0','0',0};
|
||||
const WCHAR AtlAxWinLic100[] = {'A','t','l','A','x','W','i','n','L','i','c','1','0','0',0};
|
||||
|
||||
FIXME("semi-stub\n");
|
||||
|
||||
|
@ -105,7 +106,11 @@ BOOL WINAPI AtlAxWinInit(void)
|
|||
wcex.hIconSm = 0;
|
||||
|
||||
wcex.lpfnWndProc = AtlAxWin_wndproc;
|
||||
wcex.lpszClassName = AtlAxWin;
|
||||
wcex.lpszClassName = AtlAxWin100;
|
||||
if ( !RegisterClassExW( &wcex ) )
|
||||
return FALSE;
|
||||
|
||||
wcex.lpszClassName = AtlAxWinLic100;
|
||||
if ( !RegisterClassExW( &wcex ) )
|
||||
return FALSE;
|
||||
|
||||
|
|
|
@ -582,12 +582,12 @@ static void test_ax_win(void)
|
|||
memset(&wcex, 0, sizeof(wcex));
|
||||
wcex.cbSize = sizeof(wcex);
|
||||
ret = GetClassInfoExW(hinstance, AtlAxWin100, &wcex);
|
||||
todo_wine ok(ret, "AtlAxWin100 has not registered\n");
|
||||
ok(ret, "AtlAxWin100 has not registered\n");
|
||||
|
||||
memset(&wcex, 0, sizeof(wcex));
|
||||
wcex.cbSize = sizeof(wcex);
|
||||
ret = GetClassInfoExW(hinstance, AtlAxWinLic100, &wcex);
|
||||
todo_wine ok(ret, "AtlAxWinLic100 has not registered\n");
|
||||
ok(ret, "AtlAxWinLic100 has not registered\n");
|
||||
}
|
||||
|
||||
START_TEST(atl)
|
||||
|
|
Loading…
Reference in a new issue