#define STR_UTF8 LIBNDR_FLAG_STR_UTF8
#define STR_LARGE_SIZE LIBNDR_FLAG_STR_LARGE_SIZE
-/*
- a UCS2 string prefixed with [size] [offset] [length], all 32 bits
- not null terminated
-*/
-#define unistr_noterm [flag(STR_NOTERM|STR_SIZE4|STR_LEN4)] string
-
/*
a UCS2 string prefixed with [size], 32 bits
*/
typedef [public,noejs] struct {
[value(2*strlen_m(string))] uint16 length;
[value(2*strlen_m(string))] uint16 size;
- unistr_noterm *string;
+ [charset(UTF16),size_is(size),length_is(length)] uint8 *string;
} lsa_String;
typedef [public] struct {