d3dx9: Make some functions inline.