This sample shows two brick walls moving back and forth along the z-axis. One uses mipmapping and the other does not, giving a side-by-side comparison of the benefits of mipmapping.
Source: (SDK root)\Samples\Multimedia\D3dim\Src\MipMap
Executable: (SDK root)\Samples\Multimedia\D3dim\Bin
Press F1 to see available commands.
This sample does not use the texture code of D3DFrame, but actually shows the full implementation needed to load and build mipmapped textures.