4.1.8.1.5 DRS_MSG_REVMEMB_REPLY_V1

The DRS_MSG_REVMEMB_REPLY_V1 structure defines the response message received from the IDL_DRSGetMemberships method.

 typedef struct {
   ULONG errCode;
   [range(0,10000)] ULONG cDsNames;
   [range(0,10000)] ULONG cSidHistory;
   [size_is(cDsNames,)] DSNAME** ppDsNames;
   [size_is(cDsNames)] DWORD* pAttributes;
   [size_is(cSidHistory,)] NT4SID** ppSidHistory;
 } DRS_MSG_REVMEMB_REPLY_V1;

errCode: 0 on success. On failure, this can be one of the following.

Value

Meaning

STATUS_INSUFFICIENT_RESOURCES

0xC000009A

Insufficient system resources exist to complete the request.

STATUS_TOO_MANY_CONTEXT_IDS

0xC000015A

The number of groups is greater than the number that can be returned to the caller.

cDsNames: Count of items in the ppDsNames array.

cSidHistory: Count of items in the ppSidHistory array.

ppDsNames: The filtered group membership. This list contains the combined membership for all the names specified in ppDsNames field of the input DRS_MSG_REVMEMB_REQ_V1 structure.

pAttributes: Properties of the returned groups. Values are chosen from SE_GROUP values.

ppSidHistory: SID history of the returned groups.