Also known as hanger bolts. These have a section of thread for wood and a section with a standard machine thread.