Fix some types and function prototypes according to Platform SDK
definitions.
This commit is contained in:
parent
ac5de27d1c
commit
601a3abec1
|
@ -61,7 +61,7 @@ typedef struct {
|
||||||
/* ----------- MENUITEMINFO Stuff ----------- */
|
/* ----------- MENUITEMINFO Stuff ----------- */
|
||||||
UINT fType; /* Item type. */
|
UINT fType; /* Item type. */
|
||||||
UINT fState; /* Item state. */
|
UINT fState; /* Item state. */
|
||||||
UINT wID; /* Item id. */
|
UINT_PTR wID; /* Item id. */
|
||||||
HMENU hSubMenu; /* Pop-up menu. */
|
HMENU hSubMenu; /* Pop-up menu. */
|
||||||
HBITMAP hCheckBit; /* Bitmap when checked. */
|
HBITMAP hCheckBit; /* Bitmap when checked. */
|
||||||
HBITMAP hUnCheckBit; /* Bitmap when unchecked. */
|
HBITMAP hUnCheckBit; /* Bitmap when unchecked. */
|
||||||
|
@ -1757,7 +1757,7 @@ static void MENU_MoveSelection( HWND hwndOwner, HMENU hmenu, INT offset )
|
||||||
* Set an item's flags, id and text ptr. Called by InsertMenu() and
|
* Set an item's flags, id and text ptr. Called by InsertMenu() and
|
||||||
* ModifyMenu().
|
* ModifyMenu().
|
||||||
*/
|
*/
|
||||||
static BOOL MENU_SetItemData( MENUITEM *item, UINT flags, UINT id,
|
static BOOL MENU_SetItemData( MENUITEM *item, UINT flags, UINT_PTR id,
|
||||||
LPCWSTR str )
|
LPCWSTR str )
|
||||||
{
|
{
|
||||||
LPWSTR prevText = IS_STRING_ITEM(item->fType) ? item->text : NULL;
|
LPWSTR prevText = IS_STRING_ITEM(item->fType) ? item->text : NULL;
|
||||||
|
@ -3531,7 +3531,7 @@ BOOL16 WINAPI InsertMenu16( HMENU16 hMenu, UINT16 pos, UINT16 flags,
|
||||||
* InsertMenuW (USER32.@)
|
* InsertMenuW (USER32.@)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI InsertMenuW( HMENU hMenu, UINT pos, UINT flags,
|
BOOL WINAPI InsertMenuW( HMENU hMenu, UINT pos, UINT flags,
|
||||||
UINT id, LPCWSTR str )
|
UINT_PTR id, LPCWSTR str )
|
||||||
{
|
{
|
||||||
MENUITEM *item;
|
MENUITEM *item;
|
||||||
|
|
||||||
|
@ -3563,7 +3563,7 @@ BOOL WINAPI InsertMenuW( HMENU hMenu, UINT pos, UINT flags,
|
||||||
* InsertMenuA (USER32.@)
|
* InsertMenuA (USER32.@)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI InsertMenuA( HMENU hMenu, UINT pos, UINT flags,
|
BOOL WINAPI InsertMenuA( HMENU hMenu, UINT pos, UINT flags,
|
||||||
UINT id, LPCSTR str )
|
UINT_PTR id, LPCSTR str )
|
||||||
{
|
{
|
||||||
BOOL ret = FALSE;
|
BOOL ret = FALSE;
|
||||||
|
|
||||||
|
@ -3596,7 +3596,7 @@ BOOL16 WINAPI AppendMenu16(HMENU16 hMenu, UINT16 flags, UINT16 id, SEGPTR data)
|
||||||
* AppendMenuA (USER32.@)
|
* AppendMenuA (USER32.@)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI AppendMenuA( HMENU hMenu, UINT flags,
|
BOOL WINAPI AppendMenuA( HMENU hMenu, UINT flags,
|
||||||
UINT id, LPCSTR data )
|
UINT_PTR id, LPCSTR data )
|
||||||
{
|
{
|
||||||
return InsertMenuA( hMenu, -1, flags | MF_BYPOSITION, id, data );
|
return InsertMenuA( hMenu, -1, flags | MF_BYPOSITION, id, data );
|
||||||
}
|
}
|
||||||
|
@ -3606,7 +3606,7 @@ BOOL WINAPI AppendMenuA( HMENU hMenu, UINT flags,
|
||||||
* AppendMenuW (USER32.@)
|
* AppendMenuW (USER32.@)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI AppendMenuW( HMENU hMenu, UINT flags,
|
BOOL WINAPI AppendMenuW( HMENU hMenu, UINT flags,
|
||||||
UINT id, LPCWSTR data )
|
UINT_PTR id, LPCWSTR data )
|
||||||
{
|
{
|
||||||
return InsertMenuW( hMenu, -1, flags | MF_BYPOSITION, id, data );
|
return InsertMenuW( hMenu, -1, flags | MF_BYPOSITION, id, data );
|
||||||
}
|
}
|
||||||
|
@ -3696,7 +3696,7 @@ BOOL16 WINAPI ModifyMenu16( HMENU16 hMenu, UINT16 pos, UINT16 flags,
|
||||||
* ModifyMenuW (USER32.@)
|
* ModifyMenuW (USER32.@)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI ModifyMenuW( HMENU hMenu, UINT pos, UINT flags,
|
BOOL WINAPI ModifyMenuW( HMENU hMenu, UINT pos, UINT flags,
|
||||||
UINT id, LPCWSTR str )
|
UINT_PTR id, LPCWSTR str )
|
||||||
{
|
{
|
||||||
MENUITEM *item;
|
MENUITEM *item;
|
||||||
|
|
||||||
|
@ -3721,7 +3721,7 @@ BOOL WINAPI ModifyMenuW( HMENU hMenu, UINT pos, UINT flags,
|
||||||
* ModifyMenuA (USER32.@)
|
* ModifyMenuA (USER32.@)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI ModifyMenuA( HMENU hMenu, UINT pos, UINT flags,
|
BOOL WINAPI ModifyMenuA( HMENU hMenu, UINT pos, UINT flags,
|
||||||
UINT id, LPCSTR str )
|
UINT_PTR id, LPCSTR str )
|
||||||
{
|
{
|
||||||
BOOL ret = FALSE;
|
BOOL ret = FALSE;
|
||||||
|
|
||||||
|
|
|
@ -1272,7 +1272,7 @@ static void AVISaveOptionsUpdate(HWND hWnd)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL CALLBACK AVISaveOptionsDlgProc(HWND hWnd, UINT uMsg,
|
INT_PTR CALLBACK AVISaveOptionsDlgProc(HWND hWnd, UINT uMsg,
|
||||||
WPARAM wParam, LPARAM lParam)
|
WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
DWORD dwInterleave;
|
DWORD dwInterleave;
|
||||||
|
|
|
@ -170,7 +170,7 @@ static PADDING_INFO PROPSHEET_GetPaddingInfoWizard(HWND hwndDlg, const PropSheet
|
||||||
static BOOL PROPSHEET_IsDialogMessage(HWND hwnd, LPMSG lpMsg);
|
static BOOL PROPSHEET_IsDialogMessage(HWND hwnd, LPMSG lpMsg);
|
||||||
static BOOL PROPSHEET_DoCommand(HWND hwnd, WORD wID);
|
static BOOL PROPSHEET_DoCommand(HWND hwnd, WORD wID);
|
||||||
|
|
||||||
BOOL WINAPI
|
INT_PTR CALLBACK
|
||||||
PROPSHEET_DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
PROPSHEET_DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(propsheet);
|
WINE_DEFAULT_DEBUG_CHANNEL(propsheet);
|
||||||
|
@ -592,13 +592,13 @@ BOOL PROPSHEET_CreateDialog(PropSheetInfo* psInfo)
|
||||||
ret = DialogBoxIndirectParamW(psInfo->ppshheader.hInstance,
|
ret = DialogBoxIndirectParamW(psInfo->ppshheader.hInstance,
|
||||||
(LPDLGTEMPLATEW) temp,
|
(LPDLGTEMPLATEW) temp,
|
||||||
psInfo->ppshheader.hwndParent,
|
psInfo->ppshheader.hwndParent,
|
||||||
(DLGPROC) PROPSHEET_DialogProc,
|
PROPSHEET_DialogProc,
|
||||||
(LPARAM)psInfo);
|
(LPARAM)psInfo);
|
||||||
else
|
else
|
||||||
ret = CreateDialogIndirectParamW(psInfo->ppshheader.hInstance,
|
ret = CreateDialogIndirectParamW(psInfo->ppshheader.hInstance,
|
||||||
(LPDLGTEMPLATEW) temp,
|
(LPDLGTEMPLATEW) temp,
|
||||||
psInfo->ppshheader.hwndParent,
|
psInfo->ppshheader.hwndParent,
|
||||||
(DLGPROC) PROPSHEET_DialogProc,
|
PROPSHEET_DialogProc,
|
||||||
(LPARAM)psInfo) ? TRUE : FALSE;
|
(LPARAM)psInfo) ? TRUE : FALSE;
|
||||||
|
|
||||||
COMCTL32_Free(temp);
|
COMCTL32_Free(temp);
|
||||||
|
@ -2662,7 +2662,7 @@ static BOOL PROPSHEET_DoCommand(HWND hwnd, WORD wID)
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* PROPSHEET_DialogProc
|
* PROPSHEET_DialogProc
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI
|
INT_PTR CALLBACK
|
||||||
PROPSHEET_DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
PROPSHEET_DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
TRACE("hwnd=%p msg=%x wparam=%x lparam=%lx\n",
|
TRACE("hwnd=%p msg=%x wparam=%x lparam=%lx\n",
|
||||||
|
|
|
@ -1629,7 +1629,7 @@ TOOLBAR_RelayEvent (HWND hwndTip, HWND hwndMsg, UINT uMsg,
|
||||||
* TOOLBAR_CustomizeDialogProc
|
* TOOLBAR_CustomizeDialogProc
|
||||||
* This function implements the toolbar customization dialog.
|
* This function implements the toolbar customization dialog.
|
||||||
*/
|
*/
|
||||||
static BOOL WINAPI
|
static INT_PTR CALLBACK
|
||||||
TOOLBAR_CustomizeDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
TOOLBAR_CustomizeDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
PCUSTDLG_INFO custInfo = (PCUSTDLG_INFO)GetWindowLongA (hwnd, DWL_USER);
|
PCUSTDLG_INFO custInfo = (PCUSTDLG_INFO)GetWindowLongA (hwnd, DWL_USER);
|
||||||
|
@ -2769,7 +2769,7 @@ TOOLBAR_Customize (HWND hwnd)
|
||||||
ret = DialogBoxIndirectParamA ((HINSTANCE)GetWindowLongA(hwnd, GWL_HINSTANCE),
|
ret = DialogBoxIndirectParamA ((HINSTANCE)GetWindowLongA(hwnd, GWL_HINSTANCE),
|
||||||
(LPDLGTEMPLATEA)template,
|
(LPDLGTEMPLATEA)template,
|
||||||
hwnd,
|
hwnd,
|
||||||
(DLGPROC)TOOLBAR_CustomizeDialogProc,
|
TOOLBAR_CustomizeDialogProc,
|
||||||
(LPARAM)&custInfo);
|
(LPARAM)&custInfo);
|
||||||
|
|
||||||
/* send TBN_ENDADJUST notification */
|
/* send TBN_ENDADJUST notification */
|
||||||
|
|
|
@ -41,7 +41,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
|
||||||
|
|
||||||
#include "cdlg.h"
|
#include "cdlg.h"
|
||||||
|
|
||||||
static LRESULT WINAPI ColorDlgProc( HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam );
|
static INT_PTR CALLBACK ColorDlgProc( HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam );
|
||||||
|
|
||||||
#define CONV_LPARAMTOPOINT(lp,p) do { (p)->x = SLOWORD(lp); (p)->y = SHIWORD(lp); } while(0)
|
#define CONV_LPARAMTOPOINT(lp,p) do { (p)->x = SLOWORD(lp); (p)->y = SHIWORD(lp); } while(0)
|
||||||
|
|
||||||
|
@ -1239,7 +1239,7 @@ static LRESULT CC_WMLButtonDown( HWND hDlg, WPARAM wParam, LPARAM lParam )
|
||||||
* ColorDlgProc32 [internal]
|
* ColorDlgProc32 [internal]
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
static LRESULT WINAPI ColorDlgProc( HWND hDlg, UINT message,
|
static INT_PTR CALLBACK ColorDlgProc( HWND hDlg, UINT message,
|
||||||
WPARAM wParam, LPARAM lParam )
|
WPARAM wParam, LPARAM lParam )
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -1302,10 +1302,10 @@ static LRESULT WINAPI ColorDlgProc( HWND hDlg, UINT message,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* ColorDlgProc (COMMDLG.8)
|
* ColorDlgProc (COMMDLG.8)
|
||||||
*/
|
*/
|
||||||
LRESULT WINAPI ColorDlgProc16( HWND16 hDlg16, UINT16 message,
|
BOOL16 CALLBACK ColorDlgProc16( HWND16 hDlg16, UINT16 message,
|
||||||
WPARAM16 wParam, LONG lParam )
|
WPARAM16 wParam, LONG lParam )
|
||||||
{
|
{
|
||||||
int res;
|
BOOL16 res;
|
||||||
HWND hDlg = HWND_32(hDlg16);
|
HWND hDlg = HWND_32(hDlg16);
|
||||||
|
|
||||||
LCCPRIV lpp = (LCCPRIV)GetWindowLongA(hDlg, DWL_USER);
|
LCCPRIV lpp = (LCCPRIV)GetWindowLongA(hDlg, DWL_USER);
|
||||||
|
@ -1506,7 +1506,7 @@ BOOL WINAPI ChooseColorW( LPCHOOSECOLORW lpChCol )
|
||||||
}
|
}
|
||||||
|
|
||||||
bRet = DialogBoxIndirectParamW(COMMDLG_hInstance32, template, lpChCol->hwndOwner,
|
bRet = DialogBoxIndirectParamW(COMMDLG_hInstance32, template, lpChCol->hwndOwner,
|
||||||
(DLGPROC)ColorDlgProc, (DWORD)lpChCol);
|
ColorDlgProc, (DWORD)lpChCol);
|
||||||
return bRet;
|
return bRet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -89,12 +89,12 @@ static char defaultsave[]="Save as";
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
LRESULT WINAPI FileOpenDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam,
|
BOOL16 CALLBACK FileOpenDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam,
|
||||||
LPARAM lParam);
|
LPARAM lParam);
|
||||||
LRESULT WINAPI FileSaveDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam,
|
BOOL16 CALLBACK FileSaveDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam,
|
||||||
LPARAM lParam);
|
LPARAM lParam);
|
||||||
|
|
||||||
static LRESULT WINAPI FileOpenDlgProc(HWND hDlg, UINT msg,
|
static INT_PTR CALLBACK FileOpenDlgProc(HWND hDlg, UINT msg,
|
||||||
WPARAM wParam, LPARAM lParam);
|
WPARAM wParam, LPARAM lParam);
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
|
@ -1301,7 +1301,7 @@ BOOL WINAPI GetFileName31A(
|
||||||
{
|
{
|
||||||
hInst = GetWindowLongA( lpofn->hwndOwner, GWL_HINSTANCE );
|
hInst = GetWindowLongA( lpofn->hwndOwner, GWL_HINSTANCE );
|
||||||
bRet = DialogBoxIndirectParamA( hInst, lfs->template, lpofn->hwndOwner,
|
bRet = DialogBoxIndirectParamA( hInst, lfs->template, lpofn->hwndOwner,
|
||||||
(DLGPROC) FileOpenDlgProc, (DWORD) lfs);
|
FileOpenDlgProc, (LPARAM)lfs);
|
||||||
FILEDLG_DestroyPrivate(lfs);
|
FILEDLG_DestroyPrivate(lfs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1331,7 +1331,7 @@ BOOL WINAPI GetFileName31W(
|
||||||
{
|
{
|
||||||
hInst = GetWindowLongA( lpofn->hwndOwner, GWL_HINSTANCE );
|
hInst = GetWindowLongA( lpofn->hwndOwner, GWL_HINSTANCE );
|
||||||
bRet = DialogBoxIndirectParamW( hInst, lfs->template, lpofn->hwndOwner,
|
bRet = DialogBoxIndirectParamW( hInst, lfs->template, lpofn->hwndOwner,
|
||||||
(DLGPROC) FileOpenDlgProc, (DWORD) lfs);
|
FileOpenDlgProc, (LPARAM)lfs);
|
||||||
FILEDLG_DestroyPrivate(lfs);
|
FILEDLG_DestroyPrivate(lfs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1345,7 +1345,7 @@ BOOL WINAPI GetFileName31W(
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* FileOpenDlgProc (COMMDLG.6)
|
* FileOpenDlgProc (COMMDLG.6)
|
||||||
*/
|
*/
|
||||||
LRESULT WINAPI FileOpenDlgProc16(HWND16 hWnd16, UINT16 wMsg, WPARAM16 wParam,
|
BOOL16 CALLBACK FileOpenDlgProc16(HWND16 hWnd16, UINT16 wMsg, WPARAM16 wParam,
|
||||||
LPARAM lParam)
|
LPARAM lParam)
|
||||||
{
|
{
|
||||||
HWND hWnd = HWND_32(hWnd16);
|
HWND hWnd = HWND_32(hWnd16);
|
||||||
|
@ -1394,7 +1394,7 @@ LRESULT WINAPI FileOpenDlgProc16(HWND16 hWnd16, UINT16 wMsg, WPARAM16 wParam,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* FileSaveDlgProc (COMMDLG.7)
|
* FileSaveDlgProc (COMMDLG.7)
|
||||||
*/
|
*/
|
||||||
LRESULT WINAPI FileSaveDlgProc16(HWND16 hWnd16, UINT16 wMsg, WPARAM16 wParam,
|
BOOL16 CALLBACK FileSaveDlgProc16(HWND16 hWnd16, UINT16 wMsg, WPARAM16 wParam,
|
||||||
LPARAM lParam)
|
LPARAM lParam)
|
||||||
{
|
{
|
||||||
HWND hWnd = HWND_32(hWnd16);
|
HWND hWnd = HWND_32(hWnd16);
|
||||||
|
@ -1446,7 +1446,7 @@ LRESULT WINAPI FileSaveDlgProc16(HWND16 hWnd16, UINT16 wMsg, WPARAM16 wParam,
|
||||||
* FileOpenDlgProc [internal]
|
* FileOpenDlgProc [internal]
|
||||||
* Used for open and save, in fact.
|
* Used for open and save, in fact.
|
||||||
*/
|
*/
|
||||||
static LRESULT WINAPI FileOpenDlgProc(HWND hWnd, UINT wMsg,
|
static INT_PTR CALLBACK FileOpenDlgProc(HWND hWnd, UINT wMsg,
|
||||||
WPARAM wParam, LPARAM lParam)
|
WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
LFSPRIVATE lfs = (LFSPRIVATE)GetPropA(hWnd,OFN_PROP);
|
LFSPRIVATE lfs = (LFSPRIVATE)GetPropA(hWnd,OFN_PROP);
|
||||||
|
@ -1454,8 +1454,8 @@ static LRESULT WINAPI FileOpenDlgProc(HWND hWnd, UINT wMsg,
|
||||||
TRACE("msg=%x wparam=%x lParam=%lx\n", wMsg, wParam, lParam);
|
TRACE("msg=%x wparam=%x lParam=%lx\n", wMsg, wParam, lParam);
|
||||||
if ((wMsg != WM_INITDIALOG) && lfs && lfs->hook)
|
if ((wMsg != WM_INITDIALOG) && lfs && lfs->hook)
|
||||||
{
|
{
|
||||||
LRESULT lRet;
|
INT_PTR lRet;
|
||||||
lRet = (BOOL)FILEDLG_CallWindowProc(lfs, wMsg, wParam, lParam);
|
lRet = (INT_PTR)FILEDLG_CallWindowProc(lfs, wMsg, wParam, lParam);
|
||||||
if (lRet)
|
if (lRet)
|
||||||
return lRet; /* else continue message processing */
|
return lRet; /* else continue message processing */
|
||||||
}
|
}
|
||||||
|
@ -1522,7 +1522,7 @@ BOOL16 WINAPI GetOpenFileName16(
|
||||||
hInst = GetWindowLongA( HWND_32(lpofn->hwndOwner), GWL_HINSTANCE );
|
hInst = GetWindowLongA( HWND_32(lpofn->hwndOwner), GWL_HINSTANCE );
|
||||||
ptr = GetProcAddress16(GetModuleHandle16("COMMDLG"), (LPCSTR) 6);
|
ptr = GetProcAddress16(GetModuleHandle16("COMMDLG"), (LPCSTR) 6);
|
||||||
bRet = DialogBoxIndirectParam16( hInst, lfs->hDlgTmpl16, lpofn->hwndOwner,
|
bRet = DialogBoxIndirectParam16( hInst, lfs->hDlgTmpl16, lpofn->hwndOwner,
|
||||||
(DLGPROC16) ptr, (DWORD) lfs);
|
(DLGPROC16) ptr, (LPARAM) lfs);
|
||||||
FILEDLG_DestroyPrivate(lfs);
|
FILEDLG_DestroyPrivate(lfs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1560,7 +1560,7 @@ BOOL16 WINAPI GetSaveFileName16(
|
||||||
hInst = GetWindowLongA( HWND_32(lpofn->hwndOwner), GWL_HINSTANCE );
|
hInst = GetWindowLongA( HWND_32(lpofn->hwndOwner), GWL_HINSTANCE );
|
||||||
ptr = GetProcAddress16(GetModuleHandle16("COMMDLG"), (LPCSTR) 7);
|
ptr = GetProcAddress16(GetModuleHandle16("COMMDLG"), (LPCSTR) 7);
|
||||||
bRet = DialogBoxIndirectParam16( hInst, lfs->hDlgTmpl16, lpofn->hwndOwner,
|
bRet = DialogBoxIndirectParam16( hInst, lfs->hDlgTmpl16, lpofn->hwndOwner,
|
||||||
(DLGPROC16) ptr, (DWORD) lfs);
|
(DLGPROC16) ptr, (LPARAM) lfs);
|
||||||
FILEDLG_DestroyPrivate(lfs);
|
FILEDLG_DestroyPrivate(lfs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -213,7 +213,7 @@ static void *MemAlloc(UINT size);
|
||||||
static void MemFree(void *mem);
|
static void MemFree(void *mem);
|
||||||
|
|
||||||
BOOL WINAPI GetFileName95(FileOpenDlgInfos *fodInfos);
|
BOOL WINAPI GetFileName95(FileOpenDlgInfos *fodInfos);
|
||||||
HRESULT WINAPI FileOpenDlgProc95(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
INT_PTR CALLBACK FileOpenDlgProc95(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||||
HRESULT SendCustomDlgNotificationMessage(HWND hwndParentDlg, UINT uCode);
|
HRESULT SendCustomDlgNotificationMessage(HWND hwndParentDlg, UINT uCode);
|
||||||
HRESULT FILEDLG95_HandleCustomDialogMessages(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
HRESULT FILEDLG95_HandleCustomDialogMessages(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||||
BOOL FILEDLG95_OnOpenMultipleFiles(HWND hwnd, LPWSTR lpstrFileList, UINT nFileCount, UINT sizeUsed);
|
BOOL FILEDLG95_OnOpenMultipleFiles(HWND hwnd, LPWSTR lpstrFileList, UINT nFileCount, UINT sizeUsed);
|
||||||
|
@ -284,7 +284,7 @@ BOOL WINAPI GetFileName95(FileOpenDlgInfos *fodInfos)
|
||||||
lRes = DialogBoxIndirectParamA(COMMDLG_hInstance32,
|
lRes = DialogBoxIndirectParamA(COMMDLG_hInstance32,
|
||||||
(LPDLGTEMPLATEA) template,
|
(LPDLGTEMPLATEA) template,
|
||||||
fodInfos->ofnInfos->hwndOwner,
|
fodInfos->ofnInfos->hwndOwner,
|
||||||
(DLGPROC) FileOpenDlgProc95,
|
FileOpenDlgProc95,
|
||||||
(LPARAM) fodInfos);
|
(LPARAM) fodInfos);
|
||||||
|
|
||||||
/* Unable to create the dialog */
|
/* Unable to create the dialog */
|
||||||
|
@ -642,7 +642,7 @@ void ArrangeCtrlPositions( HWND hwndChildDlg, HWND hwndParentDlg)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HRESULT WINAPI FileOpenDlgProcUserTemplate(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
INT_PTR CALLBACK FileOpenDlgProcUserTemplate(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
FileOpenDlgInfos *fodInfos = (FileOpenDlgInfos *) GetPropA(GetParent(hwnd),FileOpenDlgInfosStr);
|
FileOpenDlgInfos *fodInfos = (FileOpenDlgInfos *) GetPropA(GetParent(hwnd),FileOpenDlgInfosStr);
|
||||||
|
|
||||||
|
@ -729,7 +729,7 @@ HWND CreateTemplateDialog(FileOpenDlgInfos *fodInfos, HWND hwnd)
|
||||||
}
|
}
|
||||||
|
|
||||||
hChildDlg= CreateDialogIndirectParamA(hinst, template,
|
hChildDlg= CreateDialogIndirectParamA(hinst, template,
|
||||||
hwnd,(DLGPROC)FileOpenDlgProcUserTemplate,(LPARAM)fodInfos);
|
hwnd, FileOpenDlgProcUserTemplate, (LPARAM)fodInfos);
|
||||||
if(hChildDlg)
|
if(hChildDlg)
|
||||||
{
|
{
|
||||||
ShowWindow(hChildDlg,SW_SHOW);
|
ShowWindow(hChildDlg,SW_SHOW);
|
||||||
|
@ -752,8 +752,8 @@ HWND CreateTemplateDialog(FileOpenDlgInfos *fodInfos, HWND hwnd)
|
||||||
temp.tmplate.cx = rectHwnd.right-rectHwnd.left;
|
temp.tmplate.cx = rectHwnd.right-rectHwnd.left;
|
||||||
temp.tmplate.cy = rectHwnd.bottom-rectHwnd.top;
|
temp.tmplate.cy = rectHwnd.bottom-rectHwnd.top;
|
||||||
temp.menu = temp.class = temp.title = 0;
|
temp.menu = temp.class = temp.title = 0;
|
||||||
hChildDlg = CreateDialogIndirectParamA(fodInfos->ofnInfos->hInstance,&temp,
|
hChildDlg = CreateDialogIndirectParamA(fodInfos->ofnInfos->hInstance,&temp.tmplate,
|
||||||
hwnd,(DLGPROC)FileOpenDlgProcUserTemplate,(LPARAM)fodInfos);
|
hwnd, FileOpenDlgProcUserTemplate, (LPARAM)fodInfos);
|
||||||
return hChildDlg;
|
return hChildDlg;
|
||||||
}
|
}
|
||||||
return (HWND)NULL;
|
return (HWND)NULL;
|
||||||
|
@ -858,7 +858,7 @@ HRESULT FILEDLG95_HandleCustomDialogMessages(HWND hwnd, UINT uMsg, WPARAM wParam
|
||||||
*
|
*
|
||||||
* File open dialog procedure
|
* File open dialog procedure
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI FileOpenDlgProc95(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
INT_PTR CALLBACK FileOpenDlgProc95(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
#if 0
|
#if 0
|
||||||
TRACE("0x%04x 0x%04x\n", hwnd, uMsg);
|
TRACE("0x%04x 0x%04x\n", hwnd, uMsg);
|
||||||
|
|
|
@ -45,9 +45,9 @@ struct FRPRIVATE
|
||||||
|
|
||||||
#define LFRPRIVATE struct FRPRIVATE *
|
#define LFRPRIVATE struct FRPRIVATE *
|
||||||
|
|
||||||
LRESULT WINAPI FindTextDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam,
|
BOOL16 CALLBACK FindTextDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam,
|
||||||
LPARAM lParam);
|
LPARAM lParam);
|
||||||
LRESULT WINAPI ReplaceTextDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam,
|
BOOL16 CALLBACK ReplaceTextDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam,
|
||||||
LPARAM lParam);
|
LPARAM lParam);
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
|
@ -312,7 +312,7 @@ static LRESULT FINDDLG_WMCommand(HWND hWnd, WPARAM wParam,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* FindTextDlgProc (COMMDLG.13)
|
* FindTextDlgProc (COMMDLG.13)
|
||||||
*/
|
*/
|
||||||
LRESULT WINAPI FindTextDlgProc16(HWND16 hWnd16, UINT16 wMsg, WPARAM16 wParam,
|
BOOL16 CALLBACK FindTextDlgProc16(HWND16 hWnd16, UINT16 wMsg, WPARAM16 wParam,
|
||||||
LPARAM lParam)
|
LPARAM lParam)
|
||||||
{
|
{
|
||||||
HWND hWnd = HWND_32(hWnd16);
|
HWND hWnd = HWND_32(hWnd16);
|
||||||
|
@ -469,7 +469,7 @@ static LRESULT REPLACEDLG_WMCommand(HWND hWnd, WPARAM16 wParam,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* ReplaceTextDlgProc (COMMDLG.14)
|
* ReplaceTextDlgProc (COMMDLG.14)
|
||||||
*/
|
*/
|
||||||
LRESULT WINAPI ReplaceTextDlgProc16(HWND16 hWnd16, UINT16 wMsg, WPARAM16 wParam,
|
BOOL16 CALLBACK ReplaceTextDlgProc16(HWND16 hWnd16, UINT16 wMsg, WPARAM16 wParam,
|
||||||
LPARAM lParam)
|
LPARAM lParam)
|
||||||
{
|
{
|
||||||
HWND hWnd = HWND_32(hWnd16);
|
HWND hWnd = HWND_32(hWnd16);
|
||||||
|
|
|
@ -172,10 +172,10 @@ Replace:
|
||||||
* COMDLG32_FindReplaceDlgProc [internal]
|
* COMDLG32_FindReplaceDlgProc [internal]
|
||||||
* [Find/Replace]Text32[A/W] window procedure.
|
* [Find/Replace]Text32[A/W] window procedure.
|
||||||
*/
|
*/
|
||||||
static BOOL CALLBACK COMDLG32_FindReplaceDlgProc(HWND hDlgWnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
static INT_PTR CALLBACK COMDLG32_FindReplaceDlgProc(HWND hDlgWnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
COMDLG32_FR_Data *pdata = (COMDLG32_FR_Data *)GetPropA(hDlgWnd, (LPSTR)COMDLG32_Atom);
|
COMDLG32_FR_Data *pdata = (COMDLG32_FR_Data *)GetPropA(hDlgWnd, (LPSTR)COMDLG32_Atom);
|
||||||
BOOL retval = TRUE;
|
INT_PTR retval = TRUE;
|
||||||
|
|
||||||
if(iMsg == WM_INITDIALOG)
|
if(iMsg == WM_INITDIALOG)
|
||||||
{
|
{
|
||||||
|
@ -425,7 +425,7 @@ static HWND COMDLG32_FR_DoFindReplace(
|
||||||
hdlgwnd = CreateDialogIndirectParamA(COMDLG32_hInstance,
|
hdlgwnd = CreateDialogIndirectParamA(COMDLG32_hInstance,
|
||||||
rcs,
|
rcs,
|
||||||
pdata->fr.hwndOwner,
|
pdata->fr.hwndOwner,
|
||||||
(DLGPROC)COMDLG32_FindReplaceDlgProc,
|
COMDLG32_FindReplaceDlgProc,
|
||||||
(LPARAM)pdata);
|
(LPARAM)pdata);
|
||||||
if(!hdlgwnd)
|
if(!hdlgwnd)
|
||||||
{
|
{
|
||||||
|
@ -554,5 +554,3 @@ HWND WINAPI ReplaceTextW(
|
||||||
pdata->fr.lpstrReplaceWith, len2, NULL, NULL );
|
pdata->fr.lpstrReplaceWith, len2, NULL, NULL );
|
||||||
return COMDLG32_FR_DoFindReplace(pdata);
|
return COMDLG32_FR_DoFindReplace(pdata);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -42,11 +42,11 @@ WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
|
||||||
static HBITMAP16 hBitmapTT = 0;
|
static HBITMAP16 hBitmapTT = 0;
|
||||||
|
|
||||||
|
|
||||||
LRESULT WINAPI FormatCharDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
|
INT_PTR CALLBACK FormatCharDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
|
||||||
LPARAM lParam);
|
LPARAM lParam);
|
||||||
LRESULT WINAPI FormatCharDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam,
|
INT_PTR CALLBACK FormatCharDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam,
|
||||||
LPARAM lParam);
|
LPARAM lParam);
|
||||||
LRESULT WINAPI FormatCharDlgProc16(HWND16 hDlg, UINT16 message, WPARAM16 wParam,
|
BOOL16 CALLBACK FormatCharDlgProc16(HWND16 hDlg, UINT16 message, WPARAM16 wParam,
|
||||||
LPARAM lParam);
|
LPARAM lParam);
|
||||||
|
|
||||||
static void FONT_LogFont16To32A( const LPLOGFONT16 font16, LPLOGFONTA font32 )
|
static void FONT_LogFont16To32A( const LPLOGFONT16 font16, LPLOGFONTA font32 )
|
||||||
|
@ -281,7 +281,7 @@ BOOL WINAPI ChooseFontA(LPCHOOSEFONTA lpChFont)
|
||||||
if (lpChFont->Flags & (CF_SELECTSCRIPT | CF_NOVERTFONTS | CF_ENABLETEMPLATE |
|
if (lpChFont->Flags & (CF_SELECTSCRIPT | CF_NOVERTFONTS | CF_ENABLETEMPLATE |
|
||||||
CF_ENABLETEMPLATEHANDLE)) FIXME(": unimplemented flag (ignored)\n");
|
CF_ENABLETEMPLATEHANDLE)) FIXME(": unimplemented flag (ignored)\n");
|
||||||
return DialogBoxIndirectParamA(COMMDLG_hInstance32, template,
|
return DialogBoxIndirectParamA(COMMDLG_hInstance32, template,
|
||||||
lpChFont->hwndOwner, (DLGPROC)FormatCharDlgProcA, (LPARAM)lpChFont );
|
lpChFont->hwndOwner, FormatCharDlgProcA, (LPARAM)lpChFont );
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
|
@ -433,7 +433,7 @@ BOOL WINAPI ChooseFontW(LPCHOOSEFONTW lpChFont)
|
||||||
cf32a.lpszStyle=HEAP_strdupWtoA(GetProcessHeap(), 0, lpChFont->lpszStyle);
|
cf32a.lpszStyle=HEAP_strdupWtoA(GetProcessHeap(), 0, lpChFont->lpszStyle);
|
||||||
lpChFont->lpTemplateName=(LPWSTR)&cf32a;
|
lpChFont->lpTemplateName=(LPWSTR)&cf32a;
|
||||||
bRet = DialogBoxIndirectParamW(COMMDLG_hInstance32, template,
|
bRet = DialogBoxIndirectParamW(COMMDLG_hInstance32, template,
|
||||||
lpChFont->hwndOwner, (DLGPROC)FormatCharDlgProcW, (LPARAM)lpChFont );
|
lpChFont->hwndOwner, FormatCharDlgProcW, (LPARAM)lpChFont );
|
||||||
HeapFree(GetProcessHeap(), 0, cf32a.lpszStyle);
|
HeapFree(GetProcessHeap(), 0, cf32a.lpszStyle);
|
||||||
lpChFont->lpTemplateName=(LPWSTR)cf32a.lpTemplateName;
|
lpChFont->lpTemplateName=(LPWSTR)cf32a.lpTemplateName;
|
||||||
memcpy(lpChFont->lpLogFont, &lf32a, sizeof(CHOOSEFONTA));
|
memcpy(lpChFont->lpLogFont, &lf32a, sizeof(CHOOSEFONTA));
|
||||||
|
@ -1120,13 +1120,13 @@ static LRESULT CFn_WMDestroy(HWND hwnd, WPARAM wParam, LPARAM lParam)
|
||||||
2. some CF_.. flags are not supported
|
2. some CF_.. flags are not supported
|
||||||
3. some TType extensions
|
3. some TType extensions
|
||||||
*/
|
*/
|
||||||
LRESULT WINAPI FormatCharDlgProc16(HWND16 hDlg16, UINT16 message,
|
BOOL16 CALLBACK FormatCharDlgProc16(HWND16 hDlg16, UINT16 message,
|
||||||
WPARAM16 wParam, LPARAM lParam)
|
WPARAM16 wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
HWND hDlg = HWND_32(hDlg16);
|
HWND hDlg = HWND_32(hDlg16);
|
||||||
LPCHOOSEFONT16 lpcf;
|
LPCHOOSEFONT16 lpcf;
|
||||||
LPCHOOSEFONTA lpcf32a;
|
LPCHOOSEFONTA lpcf32a;
|
||||||
LRESULT res=0;
|
BOOL16 res=0;
|
||||||
if (message!=WM_INITDIALOG)
|
if (message!=WM_INITDIALOG)
|
||||||
{
|
{
|
||||||
lpcf=(LPCHOOSEFONT16)GetWindowLongA(hDlg, DWL_USER);
|
lpcf=(LPCHOOSEFONT16)GetWindowLongA(hDlg, DWL_USER);
|
||||||
|
@ -1204,11 +1204,11 @@ LRESULT WINAPI FormatCharDlgProc16(HWND16 hDlg16, UINT16 message,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* FormatCharDlgProcA [internal]
|
* FormatCharDlgProcA [internal]
|
||||||
*/
|
*/
|
||||||
LRESULT WINAPI FormatCharDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
|
INT_PTR CALLBACK FormatCharDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
|
||||||
LPARAM lParam)
|
LPARAM lParam)
|
||||||
{
|
{
|
||||||
LPCHOOSEFONTA lpcf;
|
LPCHOOSEFONTA lpcf;
|
||||||
LRESULT res=FALSE;
|
INT_PTR res = FALSE;
|
||||||
if (uMsg!=WM_INITDIALOG)
|
if (uMsg!=WM_INITDIALOG)
|
||||||
{
|
{
|
||||||
lpcf=(LPCHOOSEFONTA)GetWindowLongA(hDlg, DWL_USER);
|
lpcf=(LPCHOOSEFONTA)GetWindowLongA(hDlg, DWL_USER);
|
||||||
|
@ -1254,12 +1254,12 @@ LRESULT WINAPI FormatCharDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* FormatCharDlgProcW [internal]
|
* FormatCharDlgProcW [internal]
|
||||||
*/
|
*/
|
||||||
LRESULT WINAPI FormatCharDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam,
|
INT_PTR CALLBACK FormatCharDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam,
|
||||||
LPARAM lParam)
|
LPARAM lParam)
|
||||||
{
|
{
|
||||||
LPCHOOSEFONTW lpcf32w;
|
LPCHOOSEFONTW lpcf32w;
|
||||||
LPCHOOSEFONTA lpcf32a;
|
LPCHOOSEFONTA lpcf32a;
|
||||||
LRESULT res=FALSE;
|
INT_PTR res = FALSE;
|
||||||
if (uMsg!=WM_INITDIALOG)
|
if (uMsg!=WM_INITDIALOG)
|
||||||
{
|
{
|
||||||
lpcf32w=(LPCHOOSEFONTW)GetWindowLongA(hDlg, DWL_USER);
|
lpcf32w=(LPCHOOSEFONTW)GetWindowLongA(hDlg, DWL_USER);
|
||||||
|
|
|
@ -2002,11 +2002,11 @@ static LRESULT PRINTDLG_WMCommandW(HWND hDlg, WPARAM wParam,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* PrintDlgProcA [internal]
|
* PrintDlgProcA [internal]
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI PrintDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
|
INT_PTR CALLBACK PrintDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
|
||||||
LPARAM lParam)
|
LPARAM lParam)
|
||||||
{
|
{
|
||||||
PRINT_PTRA* PrintStructures;
|
PRINT_PTRA* PrintStructures;
|
||||||
LRESULT res=FALSE;
|
INT_PTR res = FALSE;
|
||||||
|
|
||||||
if (uMsg!=WM_INITDIALOG) {
|
if (uMsg!=WM_INITDIALOG) {
|
||||||
PrintStructures = (PRINT_PTRA*)GetPropA(hDlg,"__WINE_PRINTDLGDATA");
|
PrintStructures = (PRINT_PTRA*)GetPropA(hDlg,"__WINE_PRINTDLGDATA");
|
||||||
|
@ -2046,11 +2046,11 @@ BOOL WINAPI PrintDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL WINAPI PrintDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam,
|
INT_PTR CALLBACK PrintDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam,
|
||||||
LPARAM lParam)
|
LPARAM lParam)
|
||||||
{
|
{
|
||||||
PRINT_PTRW* PrintStructures;
|
PRINT_PTRW* PrintStructures;
|
||||||
LRESULT res=FALSE;
|
INT_PTR res = FALSE;
|
||||||
|
|
||||||
if (uMsg!=WM_INITDIALOG) {
|
if (uMsg!=WM_INITDIALOG) {
|
||||||
PrintStructures = (PRINT_PTRW*) GetWindowLongA(hDlg, DWL_USER);
|
PrintStructures = (PRINT_PTRW*) GetWindowLongA(hDlg, DWL_USER);
|
||||||
|
@ -3163,11 +3163,11 @@ PRINTDLG_PS_WMCommandW(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static BOOL WINAPI
|
static INT_PTR CALLBACK
|
||||||
PageDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
PageDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
PageSetupDataA *pda;
|
PageSetupDataA *pda;
|
||||||
BOOL res = FALSE;
|
INT_PTR res = FALSE;
|
||||||
|
|
||||||
if (uMsg==WM_INITDIALOG) {
|
if (uMsg==WM_INITDIALOG) {
|
||||||
res = TRUE;
|
res = TRUE;
|
||||||
|
@ -3245,7 +3245,7 @@ PageDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static BOOL WINAPI
|
static INT_PTR CALLBACK
|
||||||
PageDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
PageDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
PageSetupDataW *pda;
|
PageSetupDataW *pda;
|
||||||
|
@ -3469,12 +3469,12 @@ BOOL WINAPI PageSetupDlgW(LPPAGESETUPDLGW setupdlg) {
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* PrintDlgProc (COMMDLG.21)
|
* PrintDlgProc (COMMDLG.21)
|
||||||
*/
|
*/
|
||||||
LRESULT WINAPI PrintDlgProc16(HWND16 hDlg16, UINT16 uMsg, WPARAM16 wParam,
|
BOOL16 CALLBACK PrintDlgProc16(HWND16 hDlg16, UINT16 uMsg, WPARAM16 wParam,
|
||||||
LPARAM lParam)
|
LPARAM lParam)
|
||||||
{
|
{
|
||||||
HWND hDlg = HWND_32(hDlg16);
|
HWND hDlg = HWND_32(hDlg16);
|
||||||
PRINT_PTRA* PrintStructures;
|
PRINT_PTRA* PrintStructures;
|
||||||
LRESULT res=FALSE;
|
BOOL16 res = FALSE;
|
||||||
|
|
||||||
if (uMsg!=WM_INITDIALOG) {
|
if (uMsg!=WM_INITDIALOG) {
|
||||||
PrintStructures = (PRINT_PTRA*)GetPropA(hDlg,"__WINE_PRINTDLGDATA");
|
PrintStructures = (PRINT_PTRA*)GetPropA(hDlg,"__WINE_PRINTDLGDATA");
|
||||||
|
@ -3528,7 +3528,7 @@ LRESULT WINAPI PrintDlgProc16(HWND16 hDlg16, UINT16 uMsg, WPARAM16 wParam,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* PrintSetupDlgProc (COMMDLG.22)
|
* PrintSetupDlgProc (COMMDLG.22)
|
||||||
*/
|
*/
|
||||||
LRESULT WINAPI PrintSetupDlgProc16(HWND16 hWnd16, UINT16 wMsg, WPARAM16 wParam,
|
BOOL16 CALLBACK PrintSetupDlgProc16(HWND16 hWnd16, UINT16 wMsg, WPARAM16 wParam,
|
||||||
LPARAM lParam)
|
LPARAM lParam)
|
||||||
{
|
{
|
||||||
HWND hWnd = HWND_32(hWnd16);
|
HWND hWnd = HWND_32(hWnd16);
|
||||||
|
|
|
@ -193,7 +193,7 @@ static MMRESULT MSACM_GetWFX(HWND hWnd, PACMFORMATCHOOSEA afc)
|
||||||
return affd.ret;
|
return affd.ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static BOOL WINAPI FormatChooseDlgProc(HWND hWnd, UINT msg,
|
static INT_PTR CALLBACK FormatChooseDlgProc(HWND hWnd, UINT msg,
|
||||||
WPARAM wParam, LPARAM lParam)
|
WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -338,7 +338,7 @@ static void SERIALUI_DialogInfoToDCB(HWND hDlg, SERIALUI_DialogInfo *info)
|
||||||
*
|
*
|
||||||
* Shows a dialog for configuring a COMM port
|
* Shows a dialog for configuring a COMM port
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI SERIALUI_ConfigDialogProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
INT_PTR CALLBACK SERIALUI_ConfigDialogProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
CHAR szTitle[30];
|
CHAR szTitle[30];
|
||||||
SERIALUI_DialogInfo *info;
|
SERIALUI_DialogInfo *info;
|
||||||
|
@ -423,7 +423,7 @@ BOOL WINAPI SERIALUI_CommConfigDialog(
|
||||||
return DialogBoxParamA(SERIALUI_hModule,
|
return DialogBoxParamA(SERIALUI_hModule,
|
||||||
MAKEINTRESOURCEA(IDD_SERIALUICONFIG),
|
MAKEINTRESOURCEA(IDD_SERIALUICONFIG),
|
||||||
hWndParent,
|
hWndParent,
|
||||||
(DLGPROC) SERIALUI_ConfigDialogProc,
|
SERIALUI_ConfigDialogProc,
|
||||||
(LPARAM)&info);
|
(LPARAM)&info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -579,9 +579,9 @@ static HWND hDlgCopy = 0;
|
||||||
static HKEY hKeyFiles = 0, hKeyRename = 0, hKeyConflict = 0;
|
static HKEY hKeyFiles = 0, hKeyRename = 0, hKeyConflict = 0;
|
||||||
static char BackupDir[12];
|
static char BackupDir[12];
|
||||||
|
|
||||||
static BOOL CALLBACK VCP_UI_FileCopyDlgProc(HWND hWndDlg, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
static INT_PTR CALLBACK VCP_UI_FileCopyDlgProc(HWND hWndDlg, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
BOOL retval = FALSE;
|
INT_PTR retval = FALSE;
|
||||||
|
|
||||||
if (iMsg == WM_INITDIALOG)
|
if (iMsg == WM_INITDIALOG)
|
||||||
{
|
{
|
||||||
|
|
|
@ -254,7 +254,7 @@ static LRESULT MsgNotify(HWND hWnd, UINT CtlID, LPNMHDR lpnmh)
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
* BrsFolderDlgProc32 (not an exported API function)
|
* BrsFolderDlgProc32 (not an exported API function)
|
||||||
*/
|
*/
|
||||||
static BOOL WINAPI BrsFolderDlgProc( HWND hWnd, UINT msg, WPARAM wParam,
|
static INT_PTR CALLBACK BrsFolderDlgProc( HWND hWnd, UINT msg, WPARAM wParam,
|
||||||
LPARAM lParam )
|
LPARAM lParam )
|
||||||
{
|
{
|
||||||
TRACE("hwnd=%08x msg=%04x 0x%08x 0x%08lx\n", hWnd, msg, wParam, lParam );
|
TRACE("hwnd=%08x msg=%04x 0x%08x 0x%08lx\n", hWnd, msg, wParam, lParam );
|
||||||
|
|
|
@ -46,7 +46,7 @@ typedef struct
|
||||||
typedef BOOL (*LPFNOFN) (OPENFILENAMEA *) ;
|
typedef BOOL (*LPFNOFN) (OPENFILENAMEA *) ;
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
||||||
BOOL CALLBACK RunDlgProc (HWND, UINT, WPARAM, LPARAM) ;
|
INT_PTR CALLBACK RunDlgProc (HWND, UINT, WPARAM, LPARAM) ;
|
||||||
void FillList (HWND, char *) ;
|
void FillList (HWND, char *) ;
|
||||||
|
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ void WINAPI RunFileDlg(
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Dialog procedure for RunFileDlg */
|
/* Dialog procedure for RunFileDlg */
|
||||||
BOOL CALLBACK RunDlgProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
INT_PTR CALLBACK RunDlgProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
int ic ;
|
int ic ;
|
||||||
char *psz, szMsg[256] ;
|
char *psz, szMsg[256] ;
|
||||||
|
|
|
@ -677,7 +677,7 @@ DWORD WINAPI SHLoadInProc (REFCLSID rclsid)
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
* AboutDlgProc (internal)
|
* AboutDlgProc (internal)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI AboutDlgProc( HWND hWnd, UINT msg, WPARAM wParam,
|
INT_PTR CALLBACK AboutDlgProc( HWND hWnd, UINT msg, WPARAM wParam,
|
||||||
LPARAM lParam )
|
LPARAM lParam )
|
||||||
{ HWND hWndCtl;
|
{ HWND hWndCtl;
|
||||||
char Template[512], AppTitle[512];
|
char Template[512], AppTitle[512];
|
||||||
|
|
|
@ -63,7 +63,7 @@ BOOL HCR_GetDefaultIcon (LPCSTR szClass, LPSTR szDest, DWORD len, LPDWORD dwNr);
|
||||||
BOOL HCR_GetClassName (REFIID riid, LPSTR szDest, DWORD len);
|
BOOL HCR_GetClassName (REFIID riid, LPSTR szDest, DWORD len);
|
||||||
BOOL HCR_GetFolderAttributes (REFIID riid, LPDWORD szDest);
|
BOOL HCR_GetFolderAttributes (REFIID riid, LPDWORD szDest);
|
||||||
|
|
||||||
BOOL WINAPI AboutDlgProc(HWND,UINT,WPARAM,LPARAM);
|
INT_PTR CALLBACK AboutDlgProc(HWND,UINT,WPARAM,LPARAM);
|
||||||
DWORD WINAPI ParseFieldA(LPCSTR src,DWORD field,LPSTR dst,DWORD len);
|
DWORD WINAPI ParseFieldA(LPCSTR src,DWORD field,LPSTR dst,DWORD len);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|
|
@ -1705,7 +1705,7 @@ static LRESULT send_inter_thread_message( DWORD dest_tid, const struct send_mess
|
||||||
* SendMessageTimeoutW (USER32.@)
|
* SendMessageTimeoutW (USER32.@)
|
||||||
*/
|
*/
|
||||||
LRESULT WINAPI SendMessageTimeoutW( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam,
|
LRESULT WINAPI SendMessageTimeoutW( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam,
|
||||||
UINT flags, UINT timeout, LPDWORD res_ptr )
|
UINT flags, UINT timeout, PDWORD_PTR res_ptr )
|
||||||
{
|
{
|
||||||
struct send_message_info info;
|
struct send_message_info info;
|
||||||
DWORD dest_tid, dest_pid;
|
DWORD dest_tid, dest_pid;
|
||||||
|
@ -1753,7 +1753,7 @@ LRESULT WINAPI SendMessageTimeoutW( HWND hwnd, UINT msg, WPARAM wparam, LPARAM l
|
||||||
* SendMessageTimeoutA (USER32.@)
|
* SendMessageTimeoutA (USER32.@)
|
||||||
*/
|
*/
|
||||||
LRESULT WINAPI SendMessageTimeoutA( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam,
|
LRESULT WINAPI SendMessageTimeoutA( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam,
|
||||||
UINT flags, UINT timeout, LPDWORD res_ptr )
|
UINT flags, UINT timeout, PDWORD_PTR res_ptr )
|
||||||
{
|
{
|
||||||
struct send_message_info info;
|
struct send_message_info info;
|
||||||
DWORD dest_tid, dest_pid;
|
DWORD dest_tid, dest_pid;
|
||||||
|
|
|
@ -188,7 +188,7 @@ WORD WINAPI PSDRV_AdvancedSetupDialog16(HWND16 hwnd, HANDLE16 hDriver,
|
||||||
*
|
*
|
||||||
* Dialog proc for 'Paper' propsheet
|
* Dialog proc for 'Paper' propsheet
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI PSDRV_PaperDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
|
INT_PTR CALLBACK PSDRV_PaperDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
|
||||||
lParam)
|
lParam)
|
||||||
{
|
{
|
||||||
PSDRV_DLGINFO *di;
|
PSDRV_DLGINFO *di;
|
||||||
|
|
|
@ -30,7 +30,7 @@ extern "C" {
|
||||||
/* Define a bunch of callback types */
|
/* Define a bunch of callback types */
|
||||||
|
|
||||||
#if defined(STRICT) || defined(__WINE__)
|
#if defined(STRICT) || defined(__WINE__)
|
||||||
typedef BOOL (CALLBACK *DLGPROC)(HWND,UINT,WPARAM,LPARAM);
|
typedef INT_PTR (CALLBACK *DLGPROC)(HWND,UINT,WPARAM,LPARAM);
|
||||||
typedef BOOL (CALLBACK *DRAWSTATEPROC)(HDC,LPARAM,WPARAM,int,int);
|
typedef BOOL (CALLBACK *DRAWSTATEPROC)(HDC,LPARAM,WPARAM,int,int);
|
||||||
typedef INT (CALLBACK *EDITWORDBREAKPROCA)(LPSTR,INT,INT,INT);
|
typedef INT (CALLBACK *EDITWORDBREAKPROCA)(LPSTR,INT,INT,INT);
|
||||||
typedef INT (CALLBACK *EDITWORDBREAKPROCW)(LPWSTR,INT,INT,INT);
|
typedef INT (CALLBACK *EDITWORDBREAKPROCW)(LPWSTR,INT,INT,INT);
|
||||||
|
@ -43,7 +43,7 @@ typedef BOOL (CALLBACK *PROPENUMPROCW)(HWND,LPCWSTR,HANDLE);
|
||||||
typedef BOOL (CALLBACK *PROPENUMPROCEXA)(HWND,LPCSTR,HANDLE,ULONG_PTR);
|
typedef BOOL (CALLBACK *PROPENUMPROCEXA)(HWND,LPCSTR,HANDLE,ULONG_PTR);
|
||||||
typedef BOOL (CALLBACK *PROPENUMPROCEXW)(HWND,LPCWSTR,HANDLE,ULONG_PTR);
|
typedef BOOL (CALLBACK *PROPENUMPROCEXW)(HWND,LPCWSTR,HANDLE,ULONG_PTR);
|
||||||
typedef VOID (CALLBACK *SENDASYNCPROC)(HWND,UINT,ULONG_PTR,LRESULT);
|
typedef VOID (CALLBACK *SENDASYNCPROC)(HWND,UINT,ULONG_PTR,LRESULT);
|
||||||
typedef VOID (CALLBACK *TIMERPROC)(HWND,UINT,UINT,DWORD);
|
typedef VOID (CALLBACK *TIMERPROC)(HWND,UINT,UINT_PTR,DWORD);
|
||||||
typedef VOID (CALLBACK *WINEVENTPROC)(HWINEVENTHOOK,DWORD,HWND,LONG,LONG,
|
typedef VOID (CALLBACK *WINEVENTPROC)(HWINEVENTHOOK,DWORD,HWND,LONG,LONG,
|
||||||
DWORD,DWORD);
|
DWORD,DWORD);
|
||||||
typedef BOOL (CALLBACK *WNDENUMPROC)(HWND,LPARAM);
|
typedef BOOL (CALLBACK *WNDENUMPROC)(HWND,LPARAM);
|
||||||
|
@ -317,7 +317,7 @@ typedef struct
|
||||||
POINT pt;
|
POINT pt;
|
||||||
HWND hwnd;
|
HWND hwnd;
|
||||||
UINT wHitTestCode;
|
UINT wHitTestCode;
|
||||||
DWORD dwExtraInfo;
|
ULONG_PTR dwExtraInfo;
|
||||||
} MOUSEHOOKSTRUCT, *PMOUSEHOOKSTRUCT, *LPMOUSEHOOKSTRUCT;
|
} MOUSEHOOKSTRUCT, *PMOUSEHOOKSTRUCT, *LPMOUSEHOOKSTRUCT;
|
||||||
|
|
||||||
|
|
||||||
|
@ -439,7 +439,7 @@ typedef struct tagANIMATIONINFO
|
||||||
typedef struct tagNMHDR
|
typedef struct tagNMHDR
|
||||||
{
|
{
|
||||||
HWND hwndFrom;
|
HWND hwndFrom;
|
||||||
UINT idFrom;
|
UINT_PTR idFrom;
|
||||||
UINT code;
|
UINT code;
|
||||||
} NMHDR, *LPNMHDR;
|
} NMHDR, *LPNMHDR;
|
||||||
|
|
||||||
|
@ -495,8 +495,8 @@ typedef struct
|
||||||
|
|
||||||
/***** Dialogs *****/
|
/***** Dialogs *****/
|
||||||
|
|
||||||
#define MAKEINTRESOURCEA(i) (LPSTR)((DWORD)((WORD)(i)))
|
#define MAKEINTRESOURCEA(i) (LPSTR)((ULONG_PTR)((WORD)(i)))
|
||||||
#define MAKEINTRESOURCEW(i) (LPWSTR)((DWORD)((WORD)(i)))
|
#define MAKEINTRESOURCEW(i) (LPWSTR)((ULONG_PTR)((WORD)(i)))
|
||||||
#define MAKEINTRESOURCE WINELIB_NAME_AW(MAKEINTRESOURCE)
|
#define MAKEINTRESOURCE WINELIB_NAME_AW(MAKEINTRESOURCE)
|
||||||
|
|
||||||
/* Predefined resource types */
|
/* Predefined resource types */
|
||||||
|
@ -1669,9 +1669,9 @@ DECL_WINELIB_TYPE_AW(PWNDCLASS)
|
||||||
DECL_WINELIB_TYPE_AW(LPWNDCLASS)
|
DECL_WINELIB_TYPE_AW(LPWNDCLASS)
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
DWORD dwData;
|
ULONG_PTR dwData;
|
||||||
DWORD cbData;
|
DWORD cbData;
|
||||||
LPVOID lpData;
|
PVOID lpData;
|
||||||
} COPYDATASTRUCT, *PCOPYDATASTRUCT;
|
} COPYDATASTRUCT, *PCOPYDATASTRUCT;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -1894,7 +1894,7 @@ typedef struct {
|
||||||
HMENU hSubMenu;
|
HMENU hSubMenu;
|
||||||
HBITMAP hbmpChecked;
|
HBITMAP hbmpChecked;
|
||||||
HBITMAP hbmpUnchecked;
|
HBITMAP hbmpUnchecked;
|
||||||
DWORD dwItemData;
|
ULONG_PTR dwItemData;
|
||||||
LPSTR dwTypeData;
|
LPSTR dwTypeData;
|
||||||
UINT cch;
|
UINT cch;
|
||||||
HBITMAP hbmpItem;
|
HBITMAP hbmpItem;
|
||||||
|
@ -1909,7 +1909,7 @@ typedef struct {
|
||||||
HMENU hSubMenu;
|
HMENU hSubMenu;
|
||||||
HBITMAP hbmpChecked;
|
HBITMAP hbmpChecked;
|
||||||
HBITMAP hbmpUnchecked;
|
HBITMAP hbmpUnchecked;
|
||||||
DWORD dwItemData;
|
ULONG_PTR dwItemData;
|
||||||
LPWSTR dwTypeData;
|
LPWSTR dwTypeData;
|
||||||
UINT cch;
|
UINT cch;
|
||||||
HBITMAP hbmpItem;
|
HBITMAP hbmpItem;
|
||||||
|
@ -1928,7 +1928,7 @@ typedef struct {
|
||||||
UINT cyMax;
|
UINT cyMax;
|
||||||
HBRUSH hbrBack;
|
HBRUSH hbrBack;
|
||||||
DWORD dwContextHelpID;
|
DWORD dwContextHelpID;
|
||||||
DWORD dwMenuData;
|
ULONG_PTR dwMenuData;
|
||||||
} MENUINFO, *LPMENUINFO;
|
} MENUINFO, *LPMENUINFO;
|
||||||
|
|
||||||
typedef const MENUINFO *LPCMENUINFO;
|
typedef const MENUINFO *LPCMENUINFO;
|
||||||
|
@ -2404,8 +2404,6 @@ typedef BOOL (CALLBACK *MONITORENUMPROC)(HMONITOR,HDC,LPRECT,LPARAM);
|
||||||
|
|
||||||
#include "pshpack2.h"
|
#include "pshpack2.h"
|
||||||
|
|
||||||
/* FIXME: use this instead of LPCVOID for CreateDialogIndirectParam
|
|
||||||
and DialogBoxIndirectParam */
|
|
||||||
typedef struct tagDLGTEMPLATE
|
typedef struct tagDLGTEMPLATE
|
||||||
{
|
{
|
||||||
DWORD style;
|
DWORD style;
|
||||||
|
@ -3203,7 +3201,7 @@ typedef struct
|
||||||
HWND hwndItem;
|
HWND hwndItem;
|
||||||
HDC hDC;
|
HDC hDC;
|
||||||
RECT rcItem WINE_PACKED;
|
RECT rcItem WINE_PACKED;
|
||||||
DWORD itemData WINE_PACKED;
|
ULONG_PTR itemData WINE_PACKED;
|
||||||
} DRAWITEMSTRUCT, *PDRAWITEMSTRUCT, *LPDRAWITEMSTRUCT;
|
} DRAWITEMSTRUCT, *PDRAWITEMSTRUCT, *LPDRAWITEMSTRUCT;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3214,7 +3212,7 @@ typedef struct
|
||||||
UINT itemID;
|
UINT itemID;
|
||||||
UINT itemWidth;
|
UINT itemWidth;
|
||||||
UINT itemHeight;
|
UINT itemHeight;
|
||||||
DWORD itemData;
|
ULONG_PTR itemData;
|
||||||
} MEASUREITEMSTRUCT, *PMEASUREITEMSTRUCT, *LPMEASUREITEMSTRUCT;
|
} MEASUREITEMSTRUCT, *PMEASUREITEMSTRUCT, *LPMEASUREITEMSTRUCT;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3224,7 +3222,7 @@ typedef struct
|
||||||
UINT CtlID;
|
UINT CtlID;
|
||||||
UINT itemID;
|
UINT itemID;
|
||||||
HWND hwndItem;
|
HWND hwndItem;
|
||||||
DWORD itemData;
|
ULONG_PTR itemData;
|
||||||
} DELETEITEMSTRUCT, *PDELETEITEMSTRUCT, *LPDELETEITEMSTRUCT;
|
} DELETEITEMSTRUCT, *PDELETEITEMSTRUCT, *LPDELETEITEMSTRUCT;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3234,10 +3232,10 @@ typedef struct
|
||||||
UINT CtlID;
|
UINT CtlID;
|
||||||
HWND hwndItem;
|
HWND hwndItem;
|
||||||
UINT itemID1;
|
UINT itemID1;
|
||||||
DWORD itemData1;
|
ULONG_PTR itemData1;
|
||||||
UINT itemID2;
|
UINT itemID2;
|
||||||
DWORD itemData2;
|
ULONG_PTR itemData2;
|
||||||
DWORD dwLocaleId;
|
DWORD dwLocaleId;
|
||||||
} COMPAREITEMSTRUCT, *PCOMPAREITEMSTRUCT, *LPCOMPAREITEMSTRUCT;
|
} COMPAREITEMSTRUCT, *PCOMPAREITEMSTRUCT, *LPCOMPAREITEMSTRUCT;
|
||||||
|
|
||||||
|
|
||||||
|
@ -3807,8 +3805,8 @@ BOOL WINAPI UnhookWinEvent(HWINEVENTHOOK);
|
||||||
BOOL WINAPI UnregisterDeviceNotification(HDEVNOTIFY);
|
BOOL WINAPI UnregisterDeviceNotification(HDEVNOTIFY);
|
||||||
BOOL WINAPI UnregisterHotKey(HWND,INT);
|
BOOL WINAPI UnregisterHotKey(HWND,INT);
|
||||||
DWORD WINAPI WaitForInputIdle(HANDLE,DWORD);
|
DWORD WINAPI WaitForInputIdle(HANDLE,DWORD);
|
||||||
VOID WINAPI keybd_event(BYTE,BYTE,DWORD,DWORD);
|
VOID WINAPI keybd_event(BYTE,BYTE,DWORD,ULONG_PTR);
|
||||||
VOID WINAPI mouse_event(DWORD,DWORD,DWORD,DWORD,DWORD);
|
VOID WINAPI mouse_event(DWORD,DWORD,DWORD,DWORD,ULONG_PTR);
|
||||||
|
|
||||||
/* Declarations for functions that are the same in Win16 and Win32 */
|
/* Declarations for functions that are the same in Win16 and Win32 */
|
||||||
VOID WINAPI EndMenu(void);
|
VOID WINAPI EndMenu(void);
|
||||||
|
@ -3846,8 +3844,8 @@ BOOL WINAPI AnimateWindow(HWND,DWORD,DWORD);
|
||||||
#define AnsiUpperBuffW CharUpperBuffW
|
#define AnsiUpperBuffW CharUpperBuffW
|
||||||
#define AnsiUpperBuff WINELIB_NAME_AW(AnsiUpperBuff)
|
#define AnsiUpperBuff WINELIB_NAME_AW(AnsiUpperBuff)
|
||||||
BOOL WINAPI AnyPopup(void);
|
BOOL WINAPI AnyPopup(void);
|
||||||
BOOL WINAPI AppendMenuA(HMENU,UINT,UINT,LPCSTR);
|
BOOL WINAPI AppendMenuA(HMENU,UINT,UINT_PTR,LPCSTR);
|
||||||
BOOL WINAPI AppendMenuW(HMENU,UINT,UINT,LPCWSTR);
|
BOOL WINAPI AppendMenuW(HMENU,UINT,UINT_PTR,LPCWSTR);
|
||||||
#define AppendMenu WINELIB_NAME_AW(AppendMenu)
|
#define AppendMenu WINELIB_NAME_AW(AppendMenu)
|
||||||
UINT WINAPI ArrangeIconicWindows(HWND);
|
UINT WINAPI ArrangeIconicWindows(HWND);
|
||||||
HDWP WINAPI BeginDeferWindowPos(INT);
|
HDWP WINAPI BeginDeferWindowPos(INT);
|
||||||
|
@ -3922,9 +3920,9 @@ HCURSOR WINAPI CreateCursor(HINSTANCE,INT,INT,INT,INT,LPCVOID,LPCVOID);
|
||||||
#define CreateDialogIndirectW(inst,ptr,hwnd,dlg) \
|
#define CreateDialogIndirectW(inst,ptr,hwnd,dlg) \
|
||||||
CreateDialogIndirectParamW(inst,ptr,hwnd,dlg,0)
|
CreateDialogIndirectParamW(inst,ptr,hwnd,dlg,0)
|
||||||
#define CreateDialogIndirect WINELIB_NAME_AW(CreateDialogIndirect)
|
#define CreateDialogIndirect WINELIB_NAME_AW(CreateDialogIndirect)
|
||||||
HWND WINAPI CreateDialogIndirectParamA(HINSTANCE,LPCVOID,HWND,
|
HWND WINAPI CreateDialogIndirectParamA(HINSTANCE,LPCDLGTEMPLATEA,HWND,
|
||||||
DLGPROC,LPARAM);
|
DLGPROC,LPARAM);
|
||||||
HWND WINAPI CreateDialogIndirectParamW(HINSTANCE,LPCVOID,HWND,
|
HWND WINAPI CreateDialogIndirectParamW(HINSTANCE,LPCDLGTEMPLATEW,HWND,
|
||||||
DLGPROC,LPARAM);
|
DLGPROC,LPARAM);
|
||||||
#define CreateDialogIndirectParam WINELIB_NAME_AW(CreateDialogIndirectParam)
|
#define CreateDialogIndirectParam WINELIB_NAME_AW(CreateDialogIndirectParam)
|
||||||
HWND WINAPI CreateDialogParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);
|
HWND WINAPI CreateDialogParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);
|
||||||
|
@ -3988,11 +3986,11 @@ BOOL WINAPI DestroyWindow(HWND);
|
||||||
#define DialogBoxIndirectW(inst,template,owner,func) \
|
#define DialogBoxIndirectW(inst,template,owner,func) \
|
||||||
DialogBoxIndirectParamW(inst,template,owner,func,0)
|
DialogBoxIndirectParamW(inst,template,owner,func,0)
|
||||||
#define DialogBoxIndirect WINELIB_NAME_AW(DialogBoxIndirect)
|
#define DialogBoxIndirect WINELIB_NAME_AW(DialogBoxIndirect)
|
||||||
INT WINAPI DialogBoxIndirectParamA(HINSTANCE,LPCVOID,HWND,DLGPROC,LPARAM);
|
INT_PTR WINAPI DialogBoxIndirectParamA(HINSTANCE,LPCDLGTEMPLATEA,HWND,DLGPROC,LPARAM);
|
||||||
INT WINAPI DialogBoxIndirectParamW(HINSTANCE,LPCVOID,HWND,DLGPROC,LPARAM);
|
INT_PTR WINAPI DialogBoxIndirectParamW(HINSTANCE,LPCDLGTEMPLATEW,HWND,DLGPROC,LPARAM);
|
||||||
#define DialogBoxIndirectParam WINELIB_NAME_AW(DialogBoxIndirectParam)
|
#define DialogBoxIndirectParam WINELIB_NAME_AW(DialogBoxIndirectParam)
|
||||||
INT WINAPI DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);
|
INT_PTR WINAPI DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);
|
||||||
INT WINAPI DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);
|
INT_PTR WINAPI DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);
|
||||||
#define DialogBoxParam WINELIB_NAME_AW(DialogBoxParam)
|
#define DialogBoxParam WINELIB_NAME_AW(DialogBoxParam)
|
||||||
LONG WINAPI DispatchMessageA(const MSG*);
|
LONG WINAPI DispatchMessageA(const MSG*);
|
||||||
LONG WINAPI DispatchMessageW(const MSG*);
|
LONG WINAPI DispatchMessageW(const MSG*);
|
||||||
|
@ -4010,7 +4008,7 @@ BOOL WINAPI DlgDirSelectExA(HWND,LPSTR,INT,INT);
|
||||||
BOOL WINAPI DlgDirSelectExW(HWND,LPWSTR,INT,INT);
|
BOOL WINAPI DlgDirSelectExW(HWND,LPWSTR,INT,INT);
|
||||||
#define DlgDirSelectEx WINELIB_NAME_AW(DlgDirSelectEx)
|
#define DlgDirSelectEx WINELIB_NAME_AW(DlgDirSelectEx)
|
||||||
BOOL WINAPI DragDetect(HWND,POINT);
|
BOOL WINAPI DragDetect(HWND,POINT);
|
||||||
DWORD WINAPI DragObject(HWND,HWND,UINT,DWORD,HCURSOR);
|
DWORD WINAPI DragObject(HWND,HWND,UINT,ULONG_PTR,HCURSOR);
|
||||||
BOOL WINAPI DrawAnimatedRects(HWND,int,const RECT*,const RECT*);
|
BOOL WINAPI DrawAnimatedRects(HWND,int,const RECT*,const RECT*);
|
||||||
BOOL WINAPI DrawCaption(HWND,HDC,const RECT*,UINT);
|
BOOL WINAPI DrawCaption(HWND,HDC,const RECT*,UINT);
|
||||||
BOOL WINAPI DrawCaptionTempA(HWND,HDC,const RECT*,HFONT,HICON,LPCSTR,UINT);
|
BOOL WINAPI DrawCaptionTempA(HWND,HDC,const RECT*,HFONT,HICON,LPCSTR,UINT);
|
||||||
|
@ -4036,7 +4034,7 @@ UINT WINAPI EnableMenuItem(HMENU,UINT,UINT);
|
||||||
BOOL WINAPI EnableScrollBar(HWND,INT,UINT);
|
BOOL WINAPI EnableScrollBar(HWND,INT,UINT);
|
||||||
BOOL WINAPI EnableWindow(HWND,BOOL);
|
BOOL WINAPI EnableWindow(HWND,BOOL);
|
||||||
BOOL WINAPI EndDeferWindowPos(HDWP);
|
BOOL WINAPI EndDeferWindowPos(HDWP);
|
||||||
BOOL WINAPI EndDialog(HWND,INT);
|
BOOL WINAPI EndDialog(HWND,INT_PTR);
|
||||||
BOOL WINAPI EndPaint(HWND,const PAINTSTRUCT*);
|
BOOL WINAPI EndPaint(HWND,const PAINTSTRUCT*);
|
||||||
BOOL WINAPI EnumChildWindows(HWND,WNDENUMPROC,LPARAM);
|
BOOL WINAPI EnumChildWindows(HWND,WNDENUMPROC,LPARAM);
|
||||||
UINT WINAPI EnumClipboardFormats(UINT);
|
UINT WINAPI EnumClipboardFormats(UINT);
|
||||||
|
@ -4184,8 +4182,8 @@ BOOL WINAPI HiliteMenuItem(HWND,HMENU,UINT,UINT);
|
||||||
BOOL WINAPI InflateRect(LPRECT,INT,INT);
|
BOOL WINAPI InflateRect(LPRECT,INT,INT);
|
||||||
BOOL WINAPI InSendMessage(void);
|
BOOL WINAPI InSendMessage(void);
|
||||||
DWORD WINAPI InSendMessageEx(LPVOID);
|
DWORD WINAPI InSendMessageEx(LPVOID);
|
||||||
BOOL WINAPI InsertMenuA(HMENU,UINT,UINT,UINT,LPCSTR);
|
BOOL WINAPI InsertMenuA(HMENU,UINT,UINT,UINT_PTR,LPCSTR);
|
||||||
BOOL WINAPI InsertMenuW(HMENU,UINT,UINT,UINT,LPCWSTR);
|
BOOL WINAPI InsertMenuW(HMENU,UINT,UINT,UINT_PTR,LPCWSTR);
|
||||||
#define InsertMenu WINELIB_NAME_AW(InsertMenu)
|
#define InsertMenu WINELIB_NAME_AW(InsertMenu)
|
||||||
BOOL WINAPI InsertMenuItemA(HMENU,UINT,BOOL,const MENUITEMINFOA*);
|
BOOL WINAPI InsertMenuItemA(HMENU,UINT,BOOL,const MENUITEMINFOA*);
|
||||||
BOOL WINAPI InsertMenuItemW(HMENU,UINT,BOOL,const MENUITEMINFOW*);
|
BOOL WINAPI InsertMenuItemW(HMENU,UINT,BOOL,const MENUITEMINFOW*);
|
||||||
|
@ -4220,8 +4218,8 @@ BOOL WINAPI IsWindow(HWND);
|
||||||
BOOL WINAPI IsWindowEnabled(HWND);
|
BOOL WINAPI IsWindowEnabled(HWND);
|
||||||
BOOL WINAPI IsWindowVisible(HWND);
|
BOOL WINAPI IsWindowVisible(HWND);
|
||||||
BOOL WINAPI IsZoomed(HWND);
|
BOOL WINAPI IsZoomed(HWND);
|
||||||
BOOL WINAPI KillSystemTimer(HWND,UINT);
|
BOOL WINAPI KillSystemTimer(HWND,UINT_PTR);
|
||||||
BOOL WINAPI KillTimer(HWND,UINT);
|
BOOL WINAPI KillTimer(HWND,UINT_PTR);
|
||||||
HACCEL WINAPI LoadAcceleratorsA(HINSTANCE,LPCSTR);
|
HACCEL WINAPI LoadAcceleratorsA(HINSTANCE,LPCSTR);
|
||||||
HACCEL WINAPI LoadAcceleratorsW(HINSTANCE,LPCWSTR);
|
HACCEL WINAPI LoadAcceleratorsW(HINSTANCE,LPCWSTR);
|
||||||
#define LoadAccelerators WINELIB_NAME_AW(LoadAccelerators)
|
#define LoadAccelerators WINELIB_NAME_AW(LoadAccelerators)
|
||||||
|
@ -4268,8 +4266,8 @@ INT WINAPI MessageBoxW(HWND,LPCWSTR,LPCWSTR,UINT);
|
||||||
INT WINAPI MessageBoxIndirectA(LPMSGBOXPARAMSA);
|
INT WINAPI MessageBoxIndirectA(LPMSGBOXPARAMSA);
|
||||||
INT WINAPI MessageBoxIndirectW(LPMSGBOXPARAMSW);
|
INT WINAPI MessageBoxIndirectW(LPMSGBOXPARAMSW);
|
||||||
#define MessageBoxIndirect WINELIB_NAME_AW(MessageBoxIndirect)
|
#define MessageBoxIndirect WINELIB_NAME_AW(MessageBoxIndirect)
|
||||||
BOOL WINAPI ModifyMenuA(HMENU,UINT,UINT,UINT,LPCSTR);
|
BOOL WINAPI ModifyMenuA(HMENU,UINT,UINT,UINT_PTR,LPCSTR);
|
||||||
BOOL WINAPI ModifyMenuW(HMENU,UINT,UINT,UINT,LPCWSTR);
|
BOOL WINAPI ModifyMenuW(HMENU,UINT,UINT,UINT_PTR,LPCWSTR);
|
||||||
#define ModifyMenu WINELIB_NAME_AW(ModifyMenu)
|
#define ModifyMenu WINELIB_NAME_AW(ModifyMenu)
|
||||||
BOOL WINAPI MoveWindow(HWND,INT,INT,INT,INT,BOOL);
|
BOOL WINAPI MoveWindow(HWND,INT,INT,INT,INT,BOOL);
|
||||||
BOOL WINAPI OemToCharA(LPCSTR,LPSTR);
|
BOOL WINAPI OemToCharA(LPCSTR,LPSTR);
|
||||||
|
@ -4328,8 +4326,8 @@ UINT WINAPI SendInput(UINT,LPINPUT,int);
|
||||||
LRESULT WINAPI SendMessageA(HWND,UINT,WPARAM,LPARAM);
|
LRESULT WINAPI SendMessageA(HWND,UINT,WPARAM,LPARAM);
|
||||||
LRESULT WINAPI SendMessageW(HWND,UINT,WPARAM,LPARAM);
|
LRESULT WINAPI SendMessageW(HWND,UINT,WPARAM,LPARAM);
|
||||||
#define SendMessage WINELIB_NAME_AW(SendMessage)
|
#define SendMessage WINELIB_NAME_AW(SendMessage)
|
||||||
LRESULT WINAPI SendMessageTimeoutA(HWND,UINT,WPARAM,LPARAM,UINT,UINT,LPDWORD);
|
LRESULT WINAPI SendMessageTimeoutA(HWND,UINT,WPARAM,LPARAM,UINT,UINT,PDWORD_PTR);
|
||||||
LRESULT WINAPI SendMessageTimeoutW(HWND,UINT,WPARAM,LPARAM,UINT,UINT,LPDWORD);
|
LRESULT WINAPI SendMessageTimeoutW(HWND,UINT,WPARAM,LPARAM,UINT,UINT,PDWORD_PTR);
|
||||||
#define SendMessageTimeout WINELIB_NAME_AW(SendMessageTimeout)
|
#define SendMessageTimeout WINELIB_NAME_AW(SendMessageTimeout)
|
||||||
HWND WINAPI SetActiveWindow(HWND);
|
HWND WINAPI SetActiveWindow(HWND);
|
||||||
HWND WINAPI SetCapture(HWND);
|
HWND WINAPI SetCapture(HWND);
|
||||||
|
@ -4370,8 +4368,8 @@ BOOL WINAPI SetScrollRange(HWND,INT,INT,INT,BOOL);
|
||||||
#define SetSysModalWindow(hwnd) ((HWND)0)
|
#define SetSysModalWindow(hwnd) ((HWND)0)
|
||||||
BOOL WINAPI SetSystemCursor(HCURSOR,DWORD);
|
BOOL WINAPI SetSystemCursor(HCURSOR,DWORD);
|
||||||
BOOL WINAPI SetSystemMenu(HWND,HMENU);
|
BOOL WINAPI SetSystemMenu(HWND,HMENU);
|
||||||
UINT WINAPI SetSystemTimer(HWND,UINT,UINT,TIMERPROC);
|
UINT_PTR WINAPI SetSystemTimer(HWND,UINT_PTR,UINT,TIMERPROC);
|
||||||
UINT WINAPI SetTimer(HWND,UINT,UINT,TIMERPROC);
|
UINT_PTR WINAPI SetTimer(HWND,UINT_PTR,UINT,TIMERPROC);
|
||||||
BOOL WINAPI SetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
|
BOOL WINAPI SetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
|
||||||
LONG WINAPI SetWindowLongA(HWND,INT,LONG);
|
LONG WINAPI SetWindowLongA(HWND,INT,LONG);
|
||||||
LONG WINAPI SetWindowLongW(HWND,INT,LONG);
|
LONG WINAPI SetWindowLongW(HWND,INT,LONG);
|
||||||
|
@ -4432,8 +4430,8 @@ WORD WINAPI VkKeyScanExW(WCHAR, HKL);
|
||||||
BOOL WINAPI WaitMessage(void);
|
BOOL WINAPI WaitMessage(void);
|
||||||
HWND WINAPI WindowFromDC(HDC);
|
HWND WINAPI WindowFromDC(HDC);
|
||||||
HWND WINAPI WindowFromPoint(POINT);
|
HWND WINAPI WindowFromPoint(POINT);
|
||||||
BOOL WINAPI WinHelpA(HWND,LPCSTR,UINT,DWORD);
|
BOOL WINAPI WinHelpA(HWND,LPCSTR,UINT,ULONG_PTR);
|
||||||
BOOL WINAPI WinHelpW(HWND,LPCWSTR,UINT,DWORD);
|
BOOL WINAPI WinHelpW(HWND,LPCWSTR,UINT,ULONG_PTR);
|
||||||
#define WinHelp WINELIB_NAME_AW(WinHelp)
|
#define WinHelp WINELIB_NAME_AW(WinHelp)
|
||||||
INT WINAPIV wsprintfA(LPSTR,LPCSTR,...);
|
INT WINAPIV wsprintfA(LPSTR,LPCSTR,...);
|
||||||
INT WINAPIV wsprintfW(LPWSTR,LPCWSTR,...);
|
INT WINAPIV wsprintfW(LPWSTR,LPCWSTR,...);
|
||||||
|
|
|
@ -686,7 +686,7 @@ static LPCSTR DIALOG_ParseTemplate32( LPCSTR template, DLG_TEMPLATE * result )
|
||||||
* (it's more compatible to do it here, as under Windows the owner
|
* (it's more compatible to do it here, as under Windows the owner
|
||||||
* is never disabled if the dialog fails because of an invalid template)
|
* is never disabled if the dialog fails because of an invalid template)
|
||||||
*/
|
*/
|
||||||
static HWND DIALOG_CreateIndirect( HINSTANCE hInst, LPCSTR dlgTemplate,
|
static HWND DIALOG_CreateIndirect( HINSTANCE hInst, LPCVOID dlgTemplate,
|
||||||
HWND owner, DLGPROC dlgProc, LPARAM param,
|
HWND owner, DLGPROC dlgProc, LPARAM param,
|
||||||
WINDOWPROCTYPE procType, BOOL modal )
|
WINDOWPROCTYPE procType, BOOL modal )
|
||||||
{
|
{
|
||||||
|
@ -982,7 +982,7 @@ HWND16 WINAPI CreateDialogIndirectParam16( HINSTANCE16 hInst,
|
||||||
* CreateDialogIndirectParamA (USER32.@)
|
* CreateDialogIndirectParamA (USER32.@)
|
||||||
*/
|
*/
|
||||||
HWND WINAPI CreateDialogIndirectParamA( HINSTANCE hInst,
|
HWND WINAPI CreateDialogIndirectParamA( HINSTANCE hInst,
|
||||||
LPCVOID dlgTemplate,
|
LPCDLGTEMPLATEA dlgTemplate,
|
||||||
HWND owner, DLGPROC dlgProc,
|
HWND owner, DLGPROC dlgProc,
|
||||||
LPARAM param )
|
LPARAM param )
|
||||||
{
|
{
|
||||||
|
@ -1004,7 +1004,7 @@ HWND WINAPI CreateDialogIndirectParamAorW( HINSTANCE hInst,
|
||||||
* CreateDialogIndirectParamW (USER32.@)
|
* CreateDialogIndirectParamW (USER32.@)
|
||||||
*/
|
*/
|
||||||
HWND WINAPI CreateDialogIndirectParamW( HINSTANCE hInst,
|
HWND WINAPI CreateDialogIndirectParamW( HINSTANCE hInst,
|
||||||
LPCVOID dlgTemplate,
|
LPCDLGTEMPLATEW dlgTemplate,
|
||||||
HWND owner, DLGPROC dlgProc,
|
HWND owner, DLGPROC dlgProc,
|
||||||
LPARAM param )
|
LPARAM param )
|
||||||
{
|
{
|
||||||
|
@ -1096,7 +1096,7 @@ INT16 WINAPI DialogBoxParam16( HINSTANCE16 hInst, LPCSTR template,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* DialogBoxParamA (USER32.@)
|
* DialogBoxParamA (USER32.@)
|
||||||
*/
|
*/
|
||||||
INT WINAPI DialogBoxParamA( HINSTANCE hInst, LPCSTR name,
|
INT_PTR WINAPI DialogBoxParamA( HINSTANCE hInst, LPCSTR name,
|
||||||
HWND owner, DLGPROC dlgProc, LPARAM param )
|
HWND owner, DLGPROC dlgProc, LPARAM param )
|
||||||
{
|
{
|
||||||
HWND hwnd;
|
HWND hwnd;
|
||||||
|
@ -1112,7 +1112,7 @@ INT WINAPI DialogBoxParamA( HINSTANCE hInst, LPCSTR name,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* DialogBoxParamW (USER32.@)
|
* DialogBoxParamW (USER32.@)
|
||||||
*/
|
*/
|
||||||
INT WINAPI DialogBoxParamW( HINSTANCE hInst, LPCWSTR name,
|
INT_PTR WINAPI DialogBoxParamW( HINSTANCE hInst, LPCWSTR name,
|
||||||
HWND owner, DLGPROC dlgProc, LPARAM param )
|
HWND owner, DLGPROC dlgProc, LPARAM param )
|
||||||
{
|
{
|
||||||
HWND hwnd;
|
HWND hwnd;
|
||||||
|
@ -1157,7 +1157,7 @@ INT16 WINAPI DialogBoxIndirectParam16( HINSTANCE16 hInst, HANDLE16 dlgTemplate,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* DialogBoxIndirectParamA (USER32.@)
|
* DialogBoxIndirectParamA (USER32.@)
|
||||||
*/
|
*/
|
||||||
INT WINAPI DialogBoxIndirectParamA(HINSTANCE hInstance, LPCVOID template,
|
INT_PTR WINAPI DialogBoxIndirectParamA(HINSTANCE hInstance, LPCDLGTEMPLATEA template,
|
||||||
HWND owner, DLGPROC dlgProc,
|
HWND owner, DLGPROC dlgProc,
|
||||||
LPARAM param )
|
LPARAM param )
|
||||||
{
|
{
|
||||||
|
@ -1171,7 +1171,7 @@ INT WINAPI DialogBoxIndirectParamA(HINSTANCE hInstance, LPCVOID template,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* DialogBoxIndirectParamW (USER32.@)
|
* DialogBoxIndirectParamW (USER32.@)
|
||||||
*/
|
*/
|
||||||
INT WINAPI DialogBoxIndirectParamW(HINSTANCE hInstance, LPCVOID template,
|
INT_PTR WINAPI DialogBoxIndirectParamW(HINSTANCE hInstance, LPCDLGTEMPLATEW template,
|
||||||
HWND owner, DLGPROC dlgProc,
|
HWND owner, DLGPROC dlgProc,
|
||||||
LPARAM param )
|
LPARAM param )
|
||||||
{
|
{
|
||||||
|
@ -1184,7 +1184,7 @@ INT WINAPI DialogBoxIndirectParamW(HINSTANCE hInstance, LPCVOID template,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* DialogBoxIndirectParamAorW (USER32.@)
|
* DialogBoxIndirectParamAorW (USER32.@)
|
||||||
*/
|
*/
|
||||||
INT WINAPI DialogBoxIndirectParamAorW(HINSTANCE hInstance, LPCVOID template,
|
INT_PTR WINAPI DialogBoxIndirectParamAorW(HINSTANCE hInstance, LPCVOID template,
|
||||||
HWND owner, DLGPROC dlgProc,
|
HWND owner, DLGPROC dlgProc,
|
||||||
LPARAM param, DWORD x )
|
LPARAM param, DWORD x )
|
||||||
{
|
{
|
||||||
|
@ -1199,7 +1199,7 @@ INT WINAPI DialogBoxIndirectParamAorW(HINSTANCE hInstance, LPCVOID template,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* EndDialog (USER32.@)
|
* EndDialog (USER32.@)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI EndDialog( HWND hwnd, INT retval )
|
BOOL WINAPI EndDialog( HWND hwnd, INT_PTR retval )
|
||||||
{
|
{
|
||||||
BOOL wasEnabled = TRUE;
|
BOOL wasEnabled = TRUE;
|
||||||
DIALOGINFO * dlgInfo;
|
DIALOGINFO * dlgInfo;
|
||||||
|
|
|
@ -347,7 +347,7 @@ UINT WINAPI SendInput( UINT count, LPINPUT inputs, int size )
|
||||||
* keybd_event (USER32.@)
|
* keybd_event (USER32.@)
|
||||||
*/
|
*/
|
||||||
void WINAPI keybd_event( BYTE bVk, BYTE bScan,
|
void WINAPI keybd_event( BYTE bVk, BYTE bScan,
|
||||||
DWORD dwFlags, DWORD dwExtraInfo )
|
DWORD dwFlags, ULONG_PTR dwExtraInfo )
|
||||||
{
|
{
|
||||||
INPUT input;
|
INPUT input;
|
||||||
|
|
||||||
|
@ -380,7 +380,7 @@ void WINAPI keybd_event16( CONTEXT86 *context )
|
||||||
* mouse_event (USER32.@)
|
* mouse_event (USER32.@)
|
||||||
*/
|
*/
|
||||||
void WINAPI mouse_event( DWORD dwFlags, DWORD dx, DWORD dy,
|
void WINAPI mouse_event( DWORD dwFlags, DWORD dx, DWORD dy,
|
||||||
DWORD dwData, DWORD dwExtraInfo )
|
DWORD dwData, ULONG_PTR dwExtraInfo )
|
||||||
{
|
{
|
||||||
INPUT input;
|
INPUT input;
|
||||||
|
|
||||||
|
|
|
@ -2114,7 +2114,7 @@ TileWindows (HWND hwndParent, UINT wFlags, const LPRECT lpRect,
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static BOOL WINAPI MDI_MoreWindowsDlgProc (HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
static INT_PTR WINAPI MDI_MoreWindowsDlgProc (HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
switch (iMsg)
|
switch (iMsg)
|
||||||
{
|
{
|
||||||
|
|
|
@ -263,7 +263,7 @@ static HFONT MSGBOX_OnInit(HWND hwnd, LPMSGBOXPARAMSW lpmb)
|
||||||
*
|
*
|
||||||
* Dialog procedure for message boxes.
|
* Dialog procedure for message boxes.
|
||||||
*/
|
*/
|
||||||
static BOOL CALLBACK MSGBOX_DlgProc( HWND hwnd, UINT message,
|
static INT_PTR CALLBACK MSGBOX_DlgProc( HWND hwnd, UINT message,
|
||||||
WPARAM wParam, LPARAM lParam )
|
WPARAM wParam, LPARAM lParam )
|
||||||
{
|
{
|
||||||
HFONT hFont;
|
HFONT hFont;
|
||||||
|
|
|
@ -111,7 +111,7 @@ void TIMER_RemoveThreadTimers(void)
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* TIMER_SetTimer
|
* TIMER_SetTimer
|
||||||
*/
|
*/
|
||||||
static UINT TIMER_SetTimer( HWND hwnd, UINT id, UINT timeout,
|
static UINT_PTR TIMER_SetTimer( HWND hwnd, UINT_PTR id, UINT timeout,
|
||||||
WNDPROC16 proc, WINDOWPROCTYPE type, BOOL sys )
|
WNDPROC16 proc, WINDOWPROCTYPE type, BOOL sys )
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -195,7 +195,7 @@ static UINT TIMER_SetTimer( HWND hwnd, UINT id, UINT timeout,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* TIMER_KillTimer
|
* TIMER_KillTimer
|
||||||
*/
|
*/
|
||||||
static BOOL TIMER_KillTimer( HWND hwnd, UINT id, BOOL sys )
|
static BOOL TIMER_KillTimer( HWND hwnd, UINT_PTR id, BOOL sys )
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
TIMER * pTimer;
|
TIMER * pTimer;
|
||||||
|
@ -252,7 +252,7 @@ UINT16 WINAPI SetTimer16( HWND16 hwnd, UINT16 id, UINT16 timeout,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* SetTimer (USER32.@)
|
* SetTimer (USER32.@)
|
||||||
*/
|
*/
|
||||||
UINT WINAPI SetTimer( HWND hwnd, UINT id, UINT timeout,
|
UINT_PTR WINAPI SetTimer( HWND hwnd, UINT_PTR id, UINT timeout,
|
||||||
TIMERPROC proc )
|
TIMERPROC proc )
|
||||||
{
|
{
|
||||||
TRACE("%04x %d %d %08lx\n",
|
TRACE("%04x %d %d %08lx\n",
|
||||||
|
@ -264,7 +264,7 @@ UINT WINAPI SetTimer( HWND hwnd, UINT id, UINT timeout,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* TIMER_IsTimerValid
|
* TIMER_IsTimerValid
|
||||||
*/
|
*/
|
||||||
BOOL TIMER_IsTimerValid( HWND hwnd, UINT id, HWINDOWPROC hProc )
|
BOOL TIMER_IsTimerValid( HWND hwnd, UINT_PTR id, HWINDOWPROC hProc )
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
TIMER *pTimer;
|
TIMER *pTimer;
|
||||||
|
@ -302,7 +302,7 @@ UINT16 WINAPI SetSystemTimer16( HWND16 hwnd, UINT16 id, UINT16 timeout,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* SetSystemTimer (USER32.@)
|
* SetSystemTimer (USER32.@)
|
||||||
*/
|
*/
|
||||||
UINT WINAPI SetSystemTimer( HWND hwnd, UINT id, UINT timeout,
|
UINT_PTR WINAPI SetSystemTimer( HWND hwnd, UINT_PTR id, UINT timeout,
|
||||||
TIMERPROC proc )
|
TIMERPROC proc )
|
||||||
{
|
{
|
||||||
TRACE("%04x %d %d %08lx\n",
|
TRACE("%04x %d %d %08lx\n",
|
||||||
|
@ -314,7 +314,7 @@ UINT WINAPI SetSystemTimer( HWND hwnd, UINT id, UINT timeout,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* KillTimer (USER32.@)
|
* KillTimer (USER32.@)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI KillTimer( HWND hwnd, UINT id )
|
BOOL WINAPI KillTimer( HWND hwnd, UINT_PTR id )
|
||||||
{
|
{
|
||||||
TRACE("%04x %d\n", hwnd, id );
|
TRACE("%04x %d\n", hwnd, id );
|
||||||
return TIMER_KillTimer( hwnd, id, FALSE );
|
return TIMER_KillTimer( hwnd, id, FALSE );
|
||||||
|
@ -324,7 +324,7 @@ BOOL WINAPI KillTimer( HWND hwnd, UINT id )
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* KillSystemTimer (USER32.@)
|
* KillSystemTimer (USER32.@)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI KillSystemTimer( HWND hwnd, UINT id )
|
BOOL WINAPI KillSystemTimer( HWND hwnd, UINT_PTR id )
|
||||||
{
|
{
|
||||||
TRACE("%04x %d\n", hwnd, id );
|
TRACE("%04x %d\n", hwnd, id );
|
||||||
return TIMER_KillTimer( hwnd, id, TRUE );
|
return TIMER_KillTimer( hwnd, id, TRUE );
|
||||||
|
|
|
@ -78,8 +78,7 @@ BOOL16 WINAPI WinHelp16( HWND16 hWnd, LPCSTR lpHelpFile, UINT16 wCommand,
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* WinHelpA (USER32.@)
|
* WinHelpA (USER32.@)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI WinHelpA( HWND hWnd, LPCSTR lpHelpFile, UINT wCommand,
|
BOOL WINAPI WinHelpA( HWND hWnd, LPCSTR lpHelpFile, UINT wCommand, ULONG_PTR dwData )
|
||||||
DWORD dwData )
|
|
||||||
{
|
{
|
||||||
static WORD WM_WINHELP = 0;
|
static WORD WM_WINHELP = 0;
|
||||||
HWND hDest;
|
HWND hDest;
|
||||||
|
@ -164,7 +163,7 @@ BOOL WINAPI WinHelpA( HWND hWnd, LPCSTR lpHelpFile, UINT wCommand,
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* WinHelpW (USER32.@)
|
* WinHelpW (USER32.@)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI WinHelpW( HWND hWnd, LPCWSTR helpFile, UINT command, DWORD dwData )
|
BOOL WINAPI WinHelpW( HWND hWnd, LPCWSTR helpFile, UINT command, ULONG_PTR dwData )
|
||||||
{
|
{
|
||||||
INT len;
|
INT len;
|
||||||
LPSTR file;
|
LPSTR file;
|
||||||
|
|
Loading…
Reference in New Issue