S
Semut
CComPtr<Redemption::ISafeMAPIFolder> spSafeMailFolder;
CoCreateInstance ( CLSID_MAPIFolder,
NULL,
CLSCTX_INPROC_SERVER,
IID_ISafeMAPIFolder,
(void**) &spSafeMailFolder );
spSafeMailFolder->put_Item(pMAPIFolder);
The Redemption::ISafeMAPIFolder:ut_Item, will it release the pMAPIFolder
when it goes out of the scope since it attached to it? What the put_item do
internally? AddRef the pMAPIFolder or keep a separate copy of Ref count.
thank you.
CoCreateInstance ( CLSID_MAPIFolder,
NULL,
CLSCTX_INPROC_SERVER,
IID_ISafeMAPIFolder,
(void**) &spSafeMailFolder );
spSafeMailFolder->put_Item(pMAPIFolder);
The Redemption::ISafeMAPIFolder:ut_Item, will it release the pMAPIFolder
when it goes out of the scope since it attached to it? What the put_item do
internally? AddRef the pMAPIFolder or keep a separate copy of Ref count.
thank you.