enable responses for PT_MV_UNICODE response values
authorwsourdeau <wsourdeau@71d39326-ef09-db11-b2a4-00e04c779ad1>
Thu, 10 Feb 2011 17:55:37 +0000 (17:55 +0000)
committerwsourdeau <wsourdeau@71d39326-ef09-db11-b2a4-00e04c779ad1>
Thu, 10 Feb 2011 17:55:37 +0000 (17:55 +0000)
git-svn-id: https://svn.openchange.org/openchange@2632 71d39326-ef09-db11-b2a4-00e04c779ad1

branches/sogo/exchange.idl
branches/sogo/mapiproxy/libmapiserver/libmapiserver_oxcprpt.c

index facbdf0e5cb862008aaeeab2a2a7b67c1113ff1d..c15aeafbb8adde5862cca3934d569cf4bd6f04ec 100644 (file)
@@ -934,11 +934,11 @@ System Attendant Private Interface
                mapi_LPSTR strings[cValues]; 
        } mapi_SLPSTRArray;
 
-       typedef struct {
+       typedef [public] struct {
                [flag(STR_NULLTERM)] string lppszW;
        } mapi_LPWSTR;
 
-       typedef struct {
+       typedef [public] struct {
                uint32 cValues;
                mapi_LPWSTR strings[cValues];
        } mapi_SPLSTRArrayW;
@@ -948,7 +948,7 @@ System Attendant Private Interface
                SBinary_short   bin[cValues];
        } mapi_SBinaryArray;
 
-       typedef struct {
+       typedef [public] struct {
                uint32          cValues;
                GUID            lpguid[cValues];
        } mapi_SGuidArray;
index f7428a0cec1325b8242e56afdc32e4aa74242b0f..0babaf4c61080d5927e4251ae63d926b6705adcf 100644 (file)
@@ -386,6 +386,11 @@ _PUBLIC_ int libmapiserver_push_property(TALLOC_CTX *mem_ctx,
        case PT_SYSTIME:
                ndr_push_FILETIME(ndr, NDR_SCALARS, (struct FILETIME *) value);
                break;
+
+       case PT_MV_UNICODE:
+                ndr_push_mapi_SPLSTRArrayW(ndr, NDR_SCALARS, (struct mapi_SPLSTRArrayW *) value);
+               break;
+
        default:
                break;
        }