Corrected parameter count for DialogBoxIndirectParamAorW.

This commit is contained in:
Juergen Schmied 2000-01-04 00:29:44 +00:00 committed by Alexandre Julliard
parent e8256f589f
commit a4d7ca0f22
2 changed files with 16 additions and 1 deletions

View File

@ -138,7 +138,7 @@ init MAIN_UserInit
134 stdcall DestroyMenu(long) DestroyMenu
135 stdcall DestroyWindow(long) DestroyWindow
136 stdcall DialogBoxIndirectParamA(long ptr long ptr long) DialogBoxIndirectParamA
137 stdcall DialogBoxIndirectParamAorW(long ptr long ptr long) DialogBoxIndirectParamA
137 stdcall DialogBoxIndirectParamAorW(long ptr long ptr long long) DialogBoxIndirectParamAorW
138 stdcall DialogBoxIndirectParamW(long ptr long ptr long) DialogBoxIndirectParamW
139 stdcall DialogBoxParamA(long str long ptr long) DialogBoxParamA
140 stdcall DialogBoxParamW(long wstr long ptr long) DialogBoxParamW

View File

@ -1065,6 +1065,21 @@ INT WINAPI DialogBoxIndirectParamW(HINSTANCE hInstance, LPCVOID template,
return -1;
}
/***********************************************************************
* DialogBoxIndirectParamAorW (USER32.138)
*/
INT WINAPI DialogBoxIndirectParamAorW(HINSTANCE hInstance, LPCVOID template,
HWND owner, DLGPROC dlgProc,
LPARAM param, DWORD x )
{
HWND hwnd;
FIXME("0x%08x %p 0x%08x %p 0x%08lx 0x%08lx\n",
hInstance, template, owner, dlgProc, param, x);
hwnd = CreateDialogIndirectParamW( hInstance, template,
owner, dlgProc, param );
if (hwnd) return DIALOG_DoDialogBox( hwnd, owner );
return -1;
}
/***********************************************************************
* EndDialog16 (USER.88)