From 7b4341637cdd9e4797303197e8c2e1e405ab20e1 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Fri, 12 Mar 2010 14:30:05 +0200 Subject: s4/idl: drsuapi_DsAddEntryError refactored Structure description and name was changed to be aligned with WSPP definition. Ref: [MS-DRSR] 4.1.1.1.23 --- librpc/idl/drsuapi.idl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/librpc/idl/drsuapi.idl b/librpc/idl/drsuapi.idl index 88cc90783c..caf74b45d1 100644 --- a/librpc/idl/drsuapi.idl +++ b/librpc/idl/drsuapi.idl @@ -1278,13 +1278,13 @@ interface drsuapi typedef struct { WERROR status; - uint32 level; - [switch_is(level)] drsuapi_DsAddEntryErrorInfo *info; - } drsuapi_DsAddEntryError1; + drsuapi_DsAddEntry_DirErr dir_err; + [switch_is(dir_err)] drsuapi_DsAddEntryErrorInfo *info; + } drsuapi_DsAddEntry_ErrData_V1; typedef [switch_type(uint32)] union { - [case(1)] drsuapi_DsAddEntryError1 info1; - } drsuapi_DsAddEntryError; + [case(1)] drsuapi_DsAddEntry_ErrData_V1 v1; + } drsuapi_DsAddEntry_ErrData; typedef struct { GUID guid; @@ -1304,8 +1304,8 @@ interface drsuapi typedef struct { drsuapi_DsReplicaObjectIdentifier *id; - uint32 level; - [switch_is(level)] drsuapi_DsAddEntryError *error; + uint32 err_ver; /* Must be 1 */ + [switch_is(err_ver)] drsuapi_DsAddEntry_ErrData *err_data; [range(0,10000)] uint32 count; [size_is(count)] drsuapi_DsReplicaObjectIdentifier2 *objects; } drsuapi_DsAddEntryCtr3; -- cgit