An X-ray diffraction experiment on multilamellar membranes incorporated into an X-ray waveguide structure is reported. In the device, the lipid bilayers are confined to one side by the silicon substrate and to the other side by an evaporated thin metal cap layer. Shining a highly brilliant X-ray beam onto the system, resonantly enhanced, precisely defined and clearly distinguishable standing-wavefield distributions (modes) are excited. The in-plane structure of the acyl chain ordering is then studied by grazing incidence diffraction under simultaneously excited modes. A significant gain in signal-to-noise ratio as well as enhanced spatial resolution can be obtained with such a setup