0


Following is the snippet, my question is from the last line of assignment. Is AddRef called from that line? I didnt see the operator= override, so do I need to call AddRef manually.

CComPtr <idirect3ddevicemanager9&gt; pmanager;<="" p="">

//...pManager initialization

LPVOID *ppvObject;

*ppvObject = pManager;


wm2009.mybrute.com

垃圾帖?
提问于2009-07-17 08:28:43
50
添加评论




Made with Django.

当前版本: R-0127-20090523

cc-wiki