Define OPENFILENAME_SIZE_VERSION_400.
This commit is contained in:
parent
e293074100
commit
201da3378d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue