次の方法で共有


3.1.5.3.5 SamrGetDisplayEnumerationIndex (Opnum 41)

The SamrGetDisplayEnumerationIndex method obtains an index into an ascending account-name–sorted list of accounts.

 long SamrGetDisplayEnumerationIndex(
   [in] SAMPR_HANDLE DomainHandle,
   [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass,
   [in] PRPC_UNICODE_STRING Prefix,
   [out] unsigned long* Index
 );

See the description of SamrGetDisplayEnumerationIndex2 (section 3.1.5.3.4) for details, because the method-interface arguments and processing are identical.

This protocol asks the RPC runtime, via the strict_context_handle attribute, to reject the use of context handles created by a method of a different RPC interface than this one, as specified in [MS-RPCE] section 3.

The server MUST behave as with a call to SamrGetDisplayEnumerationIndex2, with the following parameter values.

Parameter name

Parameter value

DomainHandle

SamrGetDisplayEnumerationIndex.DomainHandle

DisplayInformationClass

SamrGetDisplayEnumerationIndex.DisplayInformationClass

Prefix

SamrGetDisplayEnumerationIndex.Prefix

Index

SamrGetDisplayEnumerationIndex.Index