It pretty much depends on the engine and the design of the windage tray. Some such as a 72 LT1 Corvette motor I have use special main cap bolts that are extended and threaded on the ends to hold the windage tray in place. My FE Ford uses a tray that sandwiches between the pan and the block.