共用方式為


4.1.13.1.3 DRS_MSG_GETREPLINFO_REQ_V2

The DRS_MSG_GETREPLINFO_REQ_V2 structure defines a version 2 request message sent to the IDL_DRSGetReplInfo method. The V2 request structure is a superset of the V1 request structure.

 typedef struct {
   DWORD InfoType;
   [string] LPWSTR pszObjectDN;
   UUID uuidSourceDsaObjGuid;
   DWORD ulFlags;
   [string] LPWSTR pszAttributeName;
   [string] LPWSTR pszValueDN;
   DWORD dwEnumerationContext;
 } DRS_MSG_GETREPLINFO_REQ_V2;

InfoType: MUST be a DS_REPL_INFO code.

pszObjectDN: DN of the object on which the operation is to be performed. The meaning of this parameter depends on the value of the InfoType parameter.

uuidSourceDsaObjGuid: NULL GUID or the DSA GUID of a DC.

ulFlags: Zero or more of the following bit flags, which are presented in little-endian byte order.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

X

X

X

X

X

X

X

M T

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X: Unused. MUST be zero and ignored.

MT (DS_REPL_INFO_FLAG_IMPROVE_LINKED_ATTRS, 0x00000001): Return attribute stamps for linked values.

pszAttributeName: Null, or the lDAPDisplayName of a link attribute.

pszValueDN: Null, or the DN of the link value for which to retrieve a stamp.

dwEnumerationContext: Zero, or the value of dwEnumerationContext returned by the server on a previous call to IDL_DRSGetReplInfo. For an informative description of the sequencing issues associated with this field, see section 1.3.2.