[NETSHELL] Use smart pointers and IID_PPV_ARG
[reactos.git] / dll / shellext / netshell / lanstatusui.h
index 62f047b..339db30 100644 (file)
@@ -47,7 +47,7 @@ class CLanStatus:
         HRESULT InitializeNetTaskbarNotifications();
         HRESULT ShowStatusDialogByCLSID(const GUID *pguidCmdGroup);
 
-        INetConnectionManager *m_lpNetMan;
+        CComPtr<INetConnectionManager> m_lpNetMan;
         NOTIFICATION_ITEM *m_pHead;
 
     public: