HelloD3D11 is using ComPtr, explain why they make sense and RawPointer is not used, link to ComPtr in msdn