Kingsoft's dictionary engine Interface

Source: Internet
Author: User

Kingsoft's dictionary engine Interface
Author: snail bait @

// Generated. IDL file (by the OLE/COM Object viewer)
//
// Typelib filename: ksengine. dll

[
UUID (4a548bd4-98d6-4fcd-9a3c-79894a606fd1 ),
Version (1.0 ),
Helpstring ("ksengine 1.0 Type Library "),
Custom (DE77BA64-517C-11D1-A2DA-0000F8773CE9, 83951780 ),
Custom (DE77BA63-517C-11D1-A2DA-0000F8773CE9, 1086159069)

]
Library ksenginelib
{
// Tlib: OLE Automation: {00020430-0000-0000-c000-000000000046}
Importlib ("stdole2.tlb ");

// Forward declare all types defined in this typelib
Interface idictionary;
Interface idictionaries;
Interface idictionaryex;
Interface iword;
Interface iexplanation;
Interface iblock;

[
UUID (69b940a9-fa3a-4f8f-b64e-98bbfa7b8e99 ),
Helpstring ("dictionary class ")
]
Coclass dictionary {
[Default] interface idictionary;
};

[
Odl,
UUID (71fa90af-3ecb-496d-a89d-7eb23c8a0d98 ),
Helpstring ("idictionary interface "),
Dual,
Oleautomation
]
Interface idictionary: idispatch {
[ID (0x00000001), propget, helpstring ("Property srclanguageid")]
Hresult srclanguageid ([out, retval] Long * pval );
[ID (0x00000001), propput, helpstring ("Property srclanguageid")]
Hresult srclanguageid ([in] Long pval );
[ID (0x00000002), propget, helpstring ("Property destlanguageid")]
Hresult destlanguageid ([out, retval] Long * pval );
[ID (0x00000002), propput, helpstring ("Property destlanguageid")]
Hresult destlanguageid ([in] Long pval );
[ID (0x00000003), helpstring ("method lookup")]
Hresult Lookup (
BSTR bstrword,
Long lflag );
[ID (0x00000004), helpstring ("method gettitle")]
Hresult gettitle ([out, retval] BSTR * bstrtitle );
[ID (0x00000005), helpstring ("method getexplain")]
Hresult getexplain ([out, retval] BSTR * bstrexplain );
[ID (0x00000006), helpstring ("method getphonetic")]
Hresult getphonetic ([out, retval] BSTR * bstrphonetic );
[ID (0x00000007), helpstring ("method open")]
Hresult open (BSTR bstrpath );
[ID (0x00000008), helpstring ("method close")]
Hresult close ();
[ID (0x00000009), helpstring ("method getexplaina")]
Hresult getexplaina ([out, retval] variant * varexplain );
[ID (0x0000000a), propget, helpstring ("Property bstrexplain")]
Hresult bstrexplain ([out, retval] BSTR * pval );
[ID (0x0000000a), propput, helpstring ("Property bstrexplain")]
Hresult bstrexplain ([in] BSTR pval );
[ID (0x0000000b), helpstring ("method getwordcount")]
Hresult getwordcount ([out, retval] Long * pcount );
[ID (0x0000000c), helpstring ("method getwordphonetic")]
Hresult getwordphonetic (
[In] BSTR bstrword,
[Out, retval] BSTR * pbstrphonetic );
[ID (0x0000000d), helpstring ("method getwordexplain")]
Hresult getwordexplain (
[In] BSTR bstrword,
[Out, retval] BSTR * pbstrexplain );
[ID (0x0000000e), helpstring ("method getword")]
Hresult getword (
[In] Long lwordid,
[Out, retval] BSTR * pbstrword );
};

[
UUID (B6BA8317-58A0-433C-9B85-69F7B30712A6 ),
Helpstring ("dictionaries class ")
]
Coclass dictionaries {
[Default] interface idictionaries;
};

[
Odl,
UUID (CE470311-3C6C-4EF3-97DD-6B69F92CFE5B ),
Helpstring ("idictionaries interface "),
Dual,
Oleautomation
]
Interface idictionaries: idispatch {
[ID (0x00000001), helpstring ("method load")]
Hresult load ();
[ID (0x00000002), helpstring ("Method Add")]
Hresult add (
[In] BSTR bstrdictpath,
[Out, retval] idictionaryex ** ppdict );
[ID (0x00000003), helpstring ("method item")]
Hresult item (
[In] Long index,
[Out, retval] idictionaryex ** ppdict );
[ID (0x00000004), propget, helpstring ("property count")]
Hresult count ([out, retval] Long * pval );
};

[
Odl,
UUID (A0783717-535B-4ECF-862A-B30ED3DE7A64 ),
Helpstring ("idictionaryex interface "),
Dual,
Oleautomation
]
Interface idictionaryex: idispatch {
[ID (0x00000001), helpstring ("method open")]
Hresult open ([in] BSTR bstrpath );
[ID (0x00000002), helpstring ("method close")]
Hresult close ();
[ID (0x00000003), propget, helpstring ("property name")]
Hresult name ([out, retval] BSTR * pval );
[ID (0x00000004), propget, helpstring ("Property path")]
Hresult path ([out, retval] BSTR * pval );
[ID (0x00000005), helpstring ("method lookup")]
Hresult Lookup (
[In] BSTR bstrword,
[In] Long lflag,
[Out, retval] iword ** pword );
[ID (0x00000006), propget, helpstring ("Property localname")]
Hresult localname ([out, retval] BSTR * pval );
[ID (0x00000007), propget, helpstring ("Property dictionaryid")]
Hresult dictionaryid ([out, retval] Long * pval );
[ID (0x00000008), propget, helpstring ("Property version")]
Hresult version ([out, retval] Long * pval );
[ID (0x00000009), propget, helpstring ("Property sourcelcid")]
Hresult sourcelcid ([out, retval] Long * pval );
[ID (0x0000000a), propget, helpstring ("Property targetlcid")]
Hresult targetlcid ([out, retval] Long * pval );
[ID (0x0000000b), propget, helpstring ("Property wordcount")]
Hresult wordcount ([out, retval] Long * pval );
[ID (0x0000000c), propget, helpstring ("Property maxwordlength")]
Hresult maxwordlength ([out, retval] Long * pval );
[ID (0x0000000d), propget, helpstring ("Property maxdatalength")]
Hresult maxdatalength ([out, retval] Long * pval );
};

[
Odl,
UUID (229a88f4-29b8-40bd-84a5-ae4bbfbb405d ),
Helpstring ("iword interface "),
Dual,
Oleautomation
]
Interface iword: idispatch {
[ID (0x00000001), propget, helpstring ("Property wordid")]
Hresult wordid ([out, retval] Long * pval );
[ID (0x00000002), helpstring ("method getword")]
Hresult getword ([out, retval] BSTR * bstrword );
[ID (0x00000003), propget, helpstring ("property count")]
Hresult count ([out, retval] Long * pval );
[ID (0x00000004), helpstring ("method item")]
Hresult item (
[In] Long index,
[Out, retval] iexplanation ** ppexplanation );
[ID (0x00000005), helpstring ("method getexplanations")]
Hresult getexplanations (
[Out] safearray (BSTR) * pptagname,
[Out] safearray (BSTR) * pptext,
[Out, retval] Long * lcount );
};

[
Odl,
UUID (BEA69C9B-EAB2-43DD-B2B3-692DE8A3FA17 ),
Helpstring ("iexplanation interface "),
Dual,
Oleautomation
]
Interface iexplanation: idispatch {
[ID (0x00000001), propget, helpstring ("Property tagname")]
Hresult tagname ([out, retval] BSTR * pval );
[ID (0x00000002), propget, helpstring ("Property text")]
Hresult text ([out, retval] BSTR * pval );
};

[
UUID (CDDDE045-19D9-4F24-8B56-8E578CF0DE8A ),
Helpstring ("dictionaryex class ")
]
Coclass dictionaryex {
[Default] interface idictionaryex;
};

[
UUID (539b6bf1-58ff-4e3d-9dc5-8770a6c1964d ),
Helpstring ("word class ")
]
Coclass word {
[Default] interface iword;
};

[
UUID (AB6D4DB4-F66E-4315-AB52-AE676129F887 ),
Helpstring ("explanation class ")
]
Coclass explanation {
[Default] interface iexplanation;
};

[
UUID (92dee298-0bcd-4cd1-bf7b-20348b4b5a2f ),
Helpstring ("Block class ")
]
Coclass block {
[Default] interface iblock;
};

[
Odl,
UUID (0b9db236-70ee-4874-978c-85daf5237af8 ),
Helpstring ("iblock interface "),
Dual,
Oleautomation
]
Interface iblock: idispatch {
};
};

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.