We classify the irreducible restricted modules for the affine Nappi-Witten Lie algebra H^4 with some natural conditions. It turns out the representation theory of H^4 is quite different from the theory of representations of Heisenberg algebras. We also study the extension of the vertex operator algebra VH^4(ℓ,0) by the even lattice L. We give the structure of the extension VH^4(ℓ,0)⊗\C[L] and its irreducible modules via irreducible representations of VH^4(ℓ,0) viewed as a vertex algebra.