Added generic CComPtrMgd class

This commit is contained in:
Yoshi Askharoun
2021-11-23 01:09:52 -06:00
parent 68d487f7a4
commit 24e1ad6204
66 changed files with 256 additions and 3038 deletions
@@ -11,7 +11,7 @@ namespace Microsoft.Zune.Util
private FeaturesChangedHandler m_featuresChangedHandler;
private readonly CComPtrMgd_003CIAsyncCallback_003E m_spAsyncCallback;
private readonly CComPtrMgd<IAsyncCallback> m_spAsyncCallback;
public static FeaturesChangedApi Instance
{
@@ -80,7 +80,7 @@ namespace Microsoft.Zune.Util
private FeaturesChangedApi()
{
CComPtrMgd_003CIAsyncCallback_003E spAsyncCallback = new CComPtrMgd_003CIAsyncCallback_003E();
CComPtrMgd<IAsyncCallback> spAsyncCallback = new CComPtrMgd<IAsyncCallback>();
try
{
m_spAsyncCallback = spAsyncCallback;