  Properties of the two-dimensional ring and three-dimensional infinitely long
straight hollow waveguide with unit width and inner radius $\rho_0$ in the
superposition of the longitudinal uniform magnetic field $\bf B$ and
Aharonov-Bohm flux are analyzed within the framework of the scalar Helmholtz
equation under the assumption that the Robin boundary conditions at the inner
and outer confining walls contain extrapolation lengths $\Lambda_{in}$ and
$\Lambda_{out}$, respectively, with nonzero imaginary parts. It is shown that,
compared to the disk geometry, the annulus opens up additional possibilities of
varying magnetization and currents by tuning imaginary components of the Robin
parameters on each confining circumference; in particular, the possibility of
restoring a lossless longitudinal flux by zeroing imaginary part $E_i$ of the
total transverse energy $E$ is discussed. The energy $E$ turns real under
special correlation between the imaginary parts of $\Lambda_{in}$ and
$\Lambda_{out}$ with the opposite signs what physically corresponds to the
equal transverse fluxes through the inner and outer interfaces of the annulus.
In the asymptotic case of the very large radius, simple expressions are derived
and applied to the analysis of the dependence of the real energy $E$ on
$\Lambda_{in}$ and $\Lambda_{out}$. New features also emerge in the magnetic
field influence; for example, if, for the quantum disk, the imaginary energy
$E_i$ is quenched by the strong intensities $B$, then for the annulus this
takes place only when the inner Robin distance $\Lambda_{in}$ is real;
otherwise, it almost quadratically depends on $B$ with the corresponding
enhancement of the reactive scattering. Closely related problem of the hole in
the otherwise uniform medium is also addressed for real and complex
extrapolation lengths with the emphasis on the comparative analysis with its
dot counterpart.
