s3: re-run make samba3-idl.
[sfrench/samba-autobuild/.git] / librpc / gen_ndr / winreg.h
index a98120ccf5852d12db36539aad627e629d2a478a..79cf33e769f1ed32649e7ba781ae3bd5885a3b3e 100644 (file)
@@ -84,6 +84,12 @@ enum winreg_CreateAction
 ;
 
 struct winreg_StringBuf {
+       uint16_t length;/* [value(strlen_m_term_null(name)*2)] */
+       uint16_t size;
+       const char *name;/* [unique,length_is(length/2),charset(UTF16),size_is(size/2)] */
+};
+
+struct winreg_ValNameBuf {
        uint16_t length;/* [value(strlen_m_term(name)*2)] */
        uint16_t size;
        const char *name;/* [unique,length_is(length/2),charset(UTF16),size_is(size/2)] */
@@ -261,7 +267,7 @@ struct winreg_EnumValue {
        struct {
                struct policy_handle *handle;/* [ref] */
                uint32_t enum_index;
-               struct winreg_StringBuf *name;/* [ref] */
+               struct winreg_ValNameBuf *name;/* [ref] */
                enum winreg_Type *type;/* [unique] */
                uint8_t *value;/* [unique,length_is(*length),size_is(*size)] */
                uint32_t *size;/* [unique] */
@@ -269,7 +275,7 @@ struct winreg_EnumValue {
        } in;
 
        struct {
-               struct winreg_StringBuf *name;/* [ref] */
+               struct winreg_ValNameBuf *name;/* [ref] */
                enum winreg_Type *type;/* [unique] */
                uint8_t *value;/* [unique,length_is(*length),size_is(*size)] */
                uint32_t *size;/* [unique] */