3.1.5.5.2 SamrQueryInformationDomain (Opnum 8)

The SamrQueryInformationDomain method obtains attributes from a domain object.

 long SamrQueryInformationDomain(
   [in] SAMPR_HANDLE DomainHandle,
   [in] DOMAIN_INFORMATION_CLASS DomainInformationClass,
   [out, switch_is(DomainInformationClass)] 
     PSAMPR_DOMAIN_INFO_BUFFER* Buffer
 );

See the description of SamrQueryInformationDomain2 (section 3.1.5.5.1) for details, because the method interface arguments and message 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 SamrQueryInformationDomain2, with the following parameter values.

Parameter name

Parameter value

DomainHandle

SamrQueryInformationDomain.DomainHandle

DomainInformationClass

SamrQueryInformationDomain.DomainInformationClass

Buffer

SamrQueryInformationDomain.Buffer