Perhaps a dozen of these specialized guns were made in Nazi Germany. They fired either a .32 caliber or .22 rimfire cartridge and had a four-round magazine. At the link, you'll find a copy of a short article from a...
https://www.neatorama.com/2009/12/08/belt-buckle-gun/
Belt Buckle Gun
search took 0.016 seconds