Changed the DLGTEMPLATE and DLGITEMTEMPLATE types to adhere to the AW

structure for compatibility.
This commit is contained in:
Bertho Stultiens 1999-03-13 17:09:13 +00:00 committed by Alexandre Julliard
parent 9bdf34b338
commit dbf9fba460
2 changed files with 19 additions and 6 deletions

View File

@ -58,7 +58,7 @@ typedef struct _PROPSHEETPAGEA
union
{
LPCSTR pszTemplate;
LPCDLGTEMPLATE pResource;
LPCDLGTEMPLATEA pResource;
}DUMMYUNIONNAME1;
union
{
@ -84,7 +84,7 @@ typedef struct _PROPSHEETPAGEW
union
{
LPCWSTR pszTemplate;
LPCDLGTEMPLATE pResource;
LPCDLGTEMPLATEW pResource;
}DUMMYUNIONNAME1;
union
{

View File

@ -1642,8 +1642,15 @@ typedef struct tagDLGTEMPLATE
short y;
short cx;
short cy;
}DLGTEMPLATE, *LPDLGTEMPLATE;
typedef const DLGTEMPLATE *LPCDLGTEMPLATE;
} DLGTEMPLATE;
typedef DLGTEMPLATE *LPDLGTEMPLATEA;
typedef DLGTEMPLATE *LPDLGTEMPLATEW;
#define LPDLGTEMPLATE WINELIB_NAME_AW(LPDLGTEMPLATE)
typedef const DLGTEMPLATE *LPCDLGTEMPLATEA;
typedef const DLGTEMPLATE *LPCDLGTEMPLATEW;
#define LPCDLGTEMPLATE WINELIB_NAME_AW(LPCDLGTEMPLATE)
/* Fixme: use this instaed of LPCVOID for CreateDialogIndirectParam and DialogBoxIndirectParam*/
typedef struct tagDLGITEMTEMPLATE
{
@ -1655,9 +1662,15 @@ typedef struct tagDLGITEMTEMPLATE
short cx;
short cy;
WORD id;
}DLGITEMTEMPLATE, *LPDLGITEMTEMPLATE;
} DLGITEMTEMPLATE;
typedef DLGITEMTEMPLATE *LPDLGITEMTEMPLATEA;
typedef DLGITEMTEMPLATE *LPDLGITEMTEMPLATEW;
#define LPDLGITEMTEMPLATE WINELIB_NAME_AW(LPDLGITEMTEMPLATE)
typedef const DLGITEMTEMPLATE *LPCDLGITEMTEMPLATEA;
typedef const DLGITEMTEMPLATE *LPCDLGITEMTEMPLATEW;
#define LPCDLGITEMTEMPLATE WINELIB_NAME_AW(LPCDLGITEMTEMPLATE)
typedef const DLGITEMTEMPLATE *LPCDLGITEMTEMPLATE;
/* CBT hook values */
#define HCBT_MOVESIZE 0