[PSDK][REACTOS] Fix definitions and usage of DWLP_MSGRESULT, DWLP_DLGPROC, and DWLP_USER
[reactos.git] / sdk / lib / atl / atlcomcli.h
index 9c19e33..20151db 100644 (file)
@@ -301,6 +301,12 @@ public:
         return *this;
     }
 
+    void Attach(BSTR bstr)
+    {
+        ::SysFreeString(m_str);
+        m_str = bstr;
+    }
+
     BSTR Detach()
     {
         BSTR str = m_str;