In many places the assignment of the LPVOID variable into the corresponding IFont * variable has been forgotten.