NTSTATUS
SampGetLsaDomainInfo(
      PPOLICY_ACCOUNT_DOMAIN_INFO *PolicyAccountDomainInfo,
      PPOLICY_PRIMARY_DOMAIN_INFO *PolicyPrimaryDomainInfo
  );

Routine Description:

    This routine retrieves ACCOUNT domain information from the LSA
    policy database.


Arguments:

    PolicyAccountDomainInfo - Receives a pointer to a
        POLICY_ACCOUNT_DOMAIN_INFO structure containing the account
        domain info.

    PolicyPrimaryDomainInfo - Receives a pointer to a
        POLICY_PRIMARY_DOMAIN_INFO structure containing the Primary
        domain info.


Return Value:

    STATUS_SUCCESS - Succeeded.

    Other status values that may be returned from:

             LsaOpenPolicy()
             LsaQueryInformationPolicy()