Alex Henrie : d3d9: Use CRT allocation functions.