Define OPENFILENAME_SIZE_VERSION_400.

This commit is contained in:
Kevin Koltzau 2004-01-08 05:16:23 +00:00 committed by Alexandre Julliard
parent e293074100
commit 201da3378d
1 changed files with 9 additions and 0 deletions

View File

@ -121,6 +121,15 @@ typedef struct {
DECL_WINELIB_TYPE_AW(OPENFILENAME)
DECL_WINELIB_TYPE_AW(LPOPENFILENAME)
#ifndef CDSIZEOF_STRUCT
#define CDSIZEOF_STRUCT(type,field) ((int)&(((type *)0)->field) + sizeof(((type*)0)->field))
#endif
#define OPENFILENAME_SIZE_VERSION_400A CDSIZEOF_STRUCT(OPENFILENAMEA,lpTemplateName)
#define OPENFILENAME_SIZE_VERSION_400W CDSIZEOF_STRUCT(OPENFILENAMEW,lpTemplateName)
#define OPENFILENAME_SIZE_VERSION_400 WINELIB_NAME_AW(OPENFILENAME_SIZE_VERSION_400)
typedef struct
{
NMHDR hdr;