Jacek Caban : textstor.idl: Added more error code declarations.
Alexandre Julliard
julliard at winehq.org
Mon Jul 20 07:37:09 CDT 2009
Module: wine
Branch: master
Commit: b3ecc6e64a15f38352ecb9a397ee974e0883cb59
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b3ecc6e64a15f38352ecb9a397ee974e0883cb59
Author: Jacek Caban <jacek at codeweavers.com>
Date: Sun Jul 19 18:20:45 2009 +0200
textstor.idl: Added more error code declarations.
---
include/textstor.idl | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/include/textstor.idl b/include/textstor.idl
index 2e79e3c..25f7749 100644
--- a/include/textstor.idl
+++ b/include/textstor.idl
@@ -20,8 +20,19 @@
import "oaidl.idl";
#endif
-cpp_quote("#define TS_E_READONLY MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0209)")
+cpp_quote("#define TS_E_INVALIDPOS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0200)")
cpp_quote("#define TS_E_NOLOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0201)")
+cpp_quote("#define TS_E_NOOBJECT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0202)")
+cpp_quote("#define TS_E_NOSERVICE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0203)")
+cpp_quote("#define TS_E_NOINTERFACE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0204)")
+cpp_quote("#define TS_E_NOSELECTION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0205)")
+cpp_quote("#define TS_E_NOLAYOUT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0206)")
+cpp_quote("#define TS_E_INVALIDPOINT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0207)")
+cpp_quote("#define TS_E_SYNCHRONOUS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0208)")
+cpp_quote("#define TS_E_READONLY MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0209)")
+cpp_quote("#define TS_E_FORMAT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x020a)")
+
+cpp_quote("#define TS_S_ASYNC MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0x0300)")
const ULONG TS_DEFAULT_SELECTION = ~0u;
@@ -50,6 +61,9 @@ const WCHAR TS_CHAR_EMBEDDED = 0xfffc;
const WCHAR TS_CHAR_REGION = 0x0000;
const WCHAR TS_CHAR_REPLACEMENT = 0xfffd;
+const DWORD TS_IAS_NOQUERY = 0x1;
+const DWORD TS_IAS_QUERYONLY = 0x2;
+
typedef [uuid(05fcf85b-5e9c-4c3e-ab71-29471d4f38e7)] enum { TS_AE_NONE, TS_AE_START, TS_AE_END } TsActiveSelEnd;
typedef [uuid(033b0df0-f193-4170-b47b-141afc247878)] enum { TS_RT_PLAIN, TS_RT_HIDDEN, TS_RT_OPAQUE } TsRunType;
typedef [uuid(ef3457d9-8446-49a7-a9e6-b50d9d5f3fd9)] GUID TS_ATTRID;
More information about the wine-cvs
mailing list