update d3dhal.h it need be rewriten it does not contain all info we need.