Implement DirectX sample codes and learn