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 union
{ {
LPCSTR pszTemplate; LPCSTR pszTemplate;
LPCDLGTEMPLATE pResource; LPCDLGTEMPLATEA pResource;
}DUMMYUNIONNAME1; }DUMMYUNIONNAME1;
union union
{ {
@ -84,7 +84,7 @@ typedef struct _PROPSHEETPAGEW
union union
{ {
LPCWSTR pszTemplate; LPCWSTR pszTemplate;
LPCDLGTEMPLATE pResource; LPCDLGTEMPLATEW pResource;
}DUMMYUNIONNAME1; }DUMMYUNIONNAME1;
union union
{ {

View File

@ -1642,8 +1642,15 @@ typedef struct tagDLGTEMPLATE
short y; short y;
short cx; short cx;
short cy; short cy;
}DLGTEMPLATE, *LPDLGTEMPLATE; } DLGTEMPLATE;
typedef const DLGTEMPLATE *LPCDLGTEMPLATE;
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*/ /* Fixme: use this instaed of LPCVOID for CreateDialogIndirectParam and DialogBoxIndirectParam*/
typedef struct tagDLGITEMTEMPLATE typedef struct tagDLGITEMTEMPLATE
{ {
@ -1655,9 +1662,15 @@ typedef struct tagDLGITEMTEMPLATE
short cx; short cx;
short cy; short cy;
WORD id; 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 */ /* CBT hook values */
#define HCBT_MOVESIZE 0 #define HCBT_MOVESIZE 0