d3dx9_36: Implement D3DXGetDeclVertexSize().