-/*\r
- * Copyright (C) 2009 Huw Davies\r
- *\r
- * This library is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU Lesser General Public\r
- * License as published by the Free Software Foundation; either\r
- * version 2.1 of the License, or (at your option) any later version.\r
- *\r
- * This library is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with this library; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA\r
- */\r
-\r
-[\r
- object,\r
- uuid(0c733a27-2a1c-11ce-ade5-00aa0044773d),\r
- pointer_default(unique)\r
-]\r
-interface ICommandText : ICommand\r
-{\r
- [local]\r
- HRESULT GetCommandText([in, out /*, annotation("__inout_opt")*/] GUID *pguidDialect,\r
- [out /*, annotation("__deref_out")*/] LPOLESTR *ppwszCommand);\r
-\r
- [call_as(GetCommandText)]\r
- HRESULT RemoteGetCommandText([in, out, unique] GUID *pguidDialect,\r
- [out] LPOLESTR *ppwszCommand,\r
- [out] IErrorInfo **ppErrorInfoRem);\r
-\r
- [local]\r
- HRESULT SetCommandText([in] REFGUID rguidDialect,\r
- [in, unique /*, annotation("__in_z_opt")*/] LPCOLESTR pwszCommand);\r
-\r
- [call_as(SetCommandText)]\r
- HRESULT RemoteSetCommandText([in] REFGUID rguidDialect,\r
- [in, unique] LPCOLESTR pwszCommand,\r
- [out] IErrorInfo **ppErrorInfoRem);\r
-\r
-};\r
+/*
+ * Copyright (C) 2009 Huw Davies
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+[
+ object,
+ uuid(0c733a27-2a1c-11ce-ade5-00aa0044773d),
+ pointer_default(unique)
+]
+interface ICommandText : ICommand
+{
+ [local]
+ HRESULT GetCommandText([in, out /*, annotation("__inout_opt")*/] GUID *pguidDialect,
+ [out /*, annotation("__deref_out")*/] LPOLESTR *ppwszCommand);
+
+ [call_as(GetCommandText)]
+ HRESULT RemoteGetCommandText([in, out, unique] GUID *pguidDialect,
+ [out] LPOLESTR *ppwszCommand,
+ [out] IErrorInfo **ppErrorInfoRem);
+
+ [local]
+ HRESULT SetCommandText([in] REFGUID rguidDialect,
+ [in, unique /*, annotation("__in_z_opt")*/] LPCOLESTR pwszCommand);
+
+ [call_as(SetCommandText)]
+ HRESULT RemoteSetCommandText([in] REFGUID rguidDialect,
+ [in, unique] LPCOLESTR pwszCommand,
+ [out] IErrorInfo **ppErrorInfoRem);
+
+};