<div class="content" name="DRS_MSG_ADDENTRYREPLY_V2" uuid="77568caa-02be-49f4-b36a-758776133416"><p>The DRS_MSG_ADDENTRYREPLY_V2 structure defines the response
message received from the <span><a href="06764fc5-4df6-4104-b6af-a92bdaa81f6e" data-linktype="relative-path">IDL_DRSAddEntry</a></span>
method.</p><dl>
<dd>
<div><pre> typedef struct {
   [unique] DSNAME* pErrorObject;
   DWORD errCode;
   DWORD dsid;
   DWORD extendedErr;
   DWORD extendedData;
   USHORT problem;
   [range(0,10000)] ULONG cObjectsAdded;
   [size_is(cObjectsAdded)] ADDENTRY_REPLY_INFO* infoList;
 } DRS_MSG_ADDENTRYREPLY_V2;
</pre></div>
</dd></dl><p><b>pErrorObject:</b>  Null, or the identity
of the <span><a href="e5c2026b-f732-4c9d-9d60-b945c0ab54eb#gt_8bb43a65-7a8c-4585-a7ed-23044772f8ca" data-linktype="relative-path">object</a></span> that was
being added when an error occurred.</p><p><b>errCode:</b>  0 if successful, otherwise
a DIRERR error code (section <span><a href="b5165b5e-399a-47d6-85d3-45db0296acbb" data-linktype="relative-path">4.1.1.1.25</a></span>).</p><p><b>dsid:</b>  The implementation-specific
diagnostic code.</p><p><b>extendedErr:</b>  0, <span><a href="e5c2026b-f732-4c9d-9d60-b945c0ab54eb#gt_dfc7ec7a-2b99-4312-a947-5d90a117d1c7" data-linktype="relative-path">STATUS
code</a></span>, or <span><a href="e5c2026b-f732-4c9d-9d60-b945c0ab54eb#gt_459db7bd-5066-44e3-89c1-f0e4806b7a1b" data-linktype="relative-path">Windows error code</a></span>.</p><p><b>extendedData:</b>  The
implementation-specific diagnostic code.</p><p><b>problem:</b>  0 or PROBLEM error code
(section <span><a href="4e239b71-e454-4908-a759-1fa412312db7" data-linktype="relative-path">4.1.1.1.26</a></span>).</p><p><b>cObjectsAdded:</b>  The count of items
in the <i>infoList</i> array.</p><p><b>infoList:</b>  The identities of the
added objects. The item order matches the item order of values in the <b>EntInfList</b>
field in the request structure.</p></div>