they slightly changed the semantics of value() in pidl, which broke
a optimisation hack in some of our IDL files.
I've changed the idl files to remove the hack for now. Sometime we
need to find a better way to handle these :-)
(This used to be commit
765f75ea630b13b1605409ff47a52cc11a1e496b)
typedef struct {
[value(2*strlen_m(name))] uint16 name_len;
- [value(name_len)] uint16 name_size;
+ [value(2*strlen_m(name))] uint16 name_size;
unistr_noterm *name;
} eventlog_String;
typedef struct {
[value(2*strlen_m(string))] uint16 length;
- [value(length)] uint16 size;
+ [value(2*strlen_m(string))] uint16 size;
unistr_noterm *string;
} lsa_String;
typedef [public] struct {
[value(strlen_m(string)*2)] uint16 size;
- [value(size)] uint16 length;
+ [value(strlen_m(string)*2)] uint16 length;
unistr_noterm *string;
} netr_String;
/* Function: 0x05 */
typedef struct {
[value(2*strlen_m(string))] uint16 length;
- [value(length)] uint16 size;
+ [value(2*strlen_m(string))] uint16 size;
unistr_noterm *string;
} samr_String;
{
typedef struct {
[value(strlen_m_term(name)*2)] uint16 name_len;
- [value(name_len)] uint16 name_size;
+ [value(strlen_m_term(name)*2)] uint16 name_size;
unistr *name;
} winreg_String;