If you have powder post beetles you can toast their holes with a propane torch and kill them if they have just started into the wood.
If they have been at it for a while your wood is toast, their little holes are just the tip of the iceberg as this picture shows.