Add mapping for PidLidRemoteTransferSize
authorJulien Kerihuel <j.kerihuel@openchange.org>
Thu, 1 Mar 2012 13:34:45 +0000 (13:34 +0000)
committerJulien Kerihuel <j.kerihuel@openchange.org>
Thu, 1 Mar 2012 13:34:45 +0000 (13:34 +0000)
libmapi/mapi_nameid.h
libmapi/mapi_nameid_private.h
script/makepropslist.py

index a6c7d32b23791fdc5729d32c3c02e86ca5113243..e92e44fcc96f76bba3903274aaf59fc5e2ab50a3 100644 (file)
@@ -614,4 +614,5 @@ struct mapi_nameid {
 #define PidNameThumbnail                                             0xa0d70102          
 #define PidNameTitle                                                 0xa0d8001f          
 #define PidNameWordCount                                             0xa0d90003          
+#define PidLidRemoteTransferSize                                     0x8f050003          
 #endif /* ! MAPI_NAMEID_H__ */
\ No newline at end of file
index 98e23e245d5c20334406bec3793a7a6363584938..f227cdb5754465bf0f429600ff5f09a45b9c2229 100644 (file)
@@ -585,6 +585,7 @@ static struct mapi_nameid_tags mapi_nameid_tags[] = {
 { PidNameThumbnail                                            , NULL                                                             , 0x0000, "Thumbnail", PT_BINARY      , MNID_STRING, PS_PUBLIC_STRINGS, 0x0 },
 { PidNameTitle                                                , NULL                                                             , 0x0000, "Title", PT_UNICODE     , MNID_STRING, PS_PUBLIC_STRINGS, 0x0 },
 { PidNameWordCount                                            , NULL                                                             , 0x0000, "WordCount", PT_LONG        , MNID_STRING, PS_PUBLIC_STRINGS, 0x0 },
+{ PidLidRemoteTransferSize                                    , "RemoteTransferSize"                                             , 0x8f05, NULL, PT_LONG        , MNID_ID, PSETID_Remote, 0x0 },
 { 0x00000000                                                  , NULL                                                             , 0x0000, NULL, PT_UNSPECIFIED , 0x0, NULL, 0x0 }
 
 };
index 48e396f2eca58a32c8a19fcea5128a86acacc4bf..b1f75a2472e9b145eeaac75d7d3dc96a434f28d5 100755 (executable)
@@ -92,29 +92,29 @@ knownrefs = [
        "[MS-OXCDATA]",
        "[MS-OXCETF]",
        "[MS-OXCFOLD]",
-       "[MS-OXCFXICS]",                                                                                                                                                                                                                            
-       "[MS-OXCHGTR]",                                                                                                                                                                                                                             
-       "[MS-OXCICAL]",                                                                                                                                                                                                                             
-       "[MS-OXCMAIL]",                                                                                                                                                                                                                             
-       "[MS-OXCMSG]",                                                                                                                                                                                                                              
-       "[MS-OXCNOTIF]",                                                                                                                                                                                                                            
-       "[MS-OXCPERM]",                                                                                                                                                                                                                             
-       "[MS-OXCPRPT]",                                                                                                                                                                                                                             
-       "[MS-OXCROPS]",                                                                                                                                                                                                                             
-       "[MS-OXCRPC]",                                                                                                                                                                                                                              
-       "[MS-OXCSPAM]",                                                                                                                                                                                                                             
-       "[MS-OXCSTOR]",                                                                                                                                                                                                                             
-       "[MS-OXCSYNC]",                                                                                                                                                                                                                             
-       "[MS-OXCTABL]",                                                                                                                                                                                                                             
-       "[MS-OXDISCO]",                                                                                                                                                                                                                             
-       "[MS-OXDOCO]",                                                                                                                                                                                                                              
-       "[MS-OXDSCLI]",                                                                                                                                                                                                                             
-       "[MS-OXGLOS]",                                                                                                                                                                                                                              
-       "[MS-OXIMAP4]",                                                                                                                                                                                                                             
-       "[MS-OXLDAP]",                                                                                                                                                                                                                              
-       "[MS-OXMSG]",                                                                                                                                                                                                                               
-       "[MS-OXMVMBX]",                                                                                                                                                                                                                             
-       "[MS-OXOABK]",                                                                                                                                                                                                                              
+       "[MS-OXCFXICS]",
+       "[MS-OXCHGTR]",
+       "[MS-OXCICAL]",
+       "[MS-OXCMAIL]",
+       "[MS-OXCMSG]",
+       "[MS-OXCNOTIF]",
+       "[MS-OXCPERM]",
+       "[MS-OXCPRPT]",
+       "[MS-OXCROPS]",
+       "[MS-OXCRPC]",
+       "[MS-OXCSPAM]",
+       "[MS-OXCSTOR]",
+       "[MS-OXCSYNC]",
+       "[MS-OXCTABL]",
+       "[MS-OXDISCO]",
+       "[MS-OXDOCO]",
+       "[MS-OXDSCLI]",
+       "[MS-OXGLOS]",
+       "[MS-OXIMAP4]",
+       "[MS-OXLDAP]",
+       "[MS-OXMSG]",
+       "[MS-OXMVMBX]",
+       "[MS-OXOABK]",
        "[MS-OXOABKT]",
        "[MS-OXOAB]",
        "[MS-OXOCAL]",
@@ -1277,6 +1277,10 @@ struct mapi_nameid {
                        mnstring_id += 1
                        f.write(propline)
 
+       # Additional properties
+       propline = "#define %s %s\n" % (string.ljust("PidLidRemoteTransferSize", 60), string.ljust("0x8f050003", 20))
+       f.write(propline)
+
        f.write("#endif /* ! MAPI_NAMEID_H__ */")
        f.close()
 
@@ -1310,6 +1314,12 @@ static struct mapi_nameid_tags mapi_nameid_tags[] = {
                                string.ljust(datatype, 15), "MNID_STRING", line[6], "0x0")
                        f.write(propline)
 
+       # Addtional named properties
+       propline = "{ %s, %s, %s, %s, %s, %s, %s, %s },\n" % (
+               string.ljust("PidLidRemoteTransferSize", 60), string.ljust("\"RemoteTransferSize\"", 65), "0x8f05",
+               "NULL", string.ljust("PT_LONG", 15), "MNID_ID", "PSETID_Remote", "0x0")
+       f.write(propline)
+
        propline = "{ %s, %s, %s, %s, %s, %s, %s, %s }\n" % (
                string.ljust("0x00000000", 60), string.ljust("NULL", 65), "0x0000", "NULL",
                string.ljust("PT_UNSPECIFIED", 15), "0x0", "NULL", "0x0")
@@ -1325,6 +1335,9 @@ static struct mapi_nameid_names mapi_nameid_names[] = {
                propline = "{ %s, \"%s\" },\n" % (string.ljust(line[0], 60), line[0])
                f.write(propline)
 
+       # Additional named properties
+       propline = "{ %s, \"%s\" }\n" % (string.ljust("PidLidRemoteTransferSize", 60), "PidLidRemoteTransferSize")      
+
        propline = "{ %s, \"%s\" }\n" % (string.ljust("0x00000000", 60), "NULL")
        f.write(propline)
        f.write("""