Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b25983ff
Commit
b25983ff
authored
Aug 05, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inputscope.idl: Imported from mingw-w64.
parent
2e752a11
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
98 additions
and
4 deletions
+98
-4
.gitignore
.gitignore
+1
-0
msctf.c
dlls/msctf/msctf.c
+3
-2
Makefile.in
include/Makefile.in
+1
-0
inputscope.idl
include/inputscope.idl
+93
-0
msctf.idl
include/msctf.idl
+0
-2
No files found.
.gitignore
View file @
b25983ff
...
...
@@ -194,6 +194,7 @@ include/iextag.h
include/imnact.h
include/imnxport.h
include/indexsrv.h
include/inputscope.h
include/mediaobj.h
include/metahost.h
include/mimeinfo.h
...
...
dlls/msctf/msctf.c
View file @
b25983ff
...
...
@@ -35,6 +35,7 @@
#include "comcat.h"
#include "rpcproxy.h"
#include "msctf.h"
#include "inputscope.h"
#include "msctf_internal.h"
...
...
@@ -602,7 +603,7 @@ HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim)
/***********************************************************************
* SetInputScope(MSCTF.@)
*/
HRESULT
WINAPI
SetInputScope
(
HWND
hwnd
,
I
NT
inputscope
)
HRESULT
WINAPI
SetInputScope
(
HWND
hwnd
,
I
nputScope
inputscope
)
{
FIXME
(
"STUB: %p %i
\n
"
,
hwnd
,
inputscope
);
return
S_OK
;
...
...
@@ -611,7 +612,7 @@ HRESULT WINAPI SetInputScope(HWND hwnd, INT inputscope)
/***********************************************************************
* SetInputScopes(MSCTF.@)
*/
HRESULT
WINAPI
SetInputScopes
(
HWND
hwnd
,
const
I
NT
*
pInputScopes
,
HRESULT
WINAPI
SetInputScopes
(
HWND
hwnd
,
const
I
nputScope
*
pInputScopes
,
UINT
cInputScopes
,
WCHAR
**
ppszPhraseList
,
UINT
cPhrases
,
WCHAR
*
pszRegExp
,
WCHAR
*
pszSRGS
)
{
...
...
include/Makefile.in
View file @
b25983ff
...
...
@@ -49,6 +49,7 @@ PUBLIC_IDL_H_SRCS = \
imnact.idl
\
imnxport.idl
\
indexsrv.idl
\
inputscope.idl
\
mediaobj.idl
\
metahost.idl
\
mimeinfo.idl
\
...
...
include/inputscope.idl
0 → 100644
View file @
b25983ff
/**
*
This
file
has
no
copyright
assigned
and
is
placed
in
the
Public
Domain
.
*
This
file
is
part
of
the
mingw
-
w64
runtime
package
.
*
No
warranty
is
given
.
*/
import
"oaidl.idl"
;
import
"ocidl.idl"
;
typedef
enum
{
IS_DEFAULT
=
0
,
IS_URL
=
1
,
IS_FILE_FULLFILEPATH
=
2
,
IS_FILE_FILENAME
=
3
,
IS_EMAIL_USERNAME
=
4
,
IS_EMAIL_SMTPEMAILADDRESS
=
5
,
IS_LOGINNAME
=
6
,
IS_PERSONALNAME_FULLNAME
=
7
,
IS_PERSONALNAME_PREFIX
=
8
,
IS_PERSONALNAME_GIVENNAME
=
9
,
IS_PERSONALNAME_MIDDLENAME
=
10
,
IS_PERSONALNAME_SURNAME
=
11
,
IS_PERSONALNAME_SUFFIX
=
12
,
IS_ADDRESS_FULLPOSTALADDRESS
=
13
,
IS_ADDRESS_POSTALCODE
=
14
,
IS_ADDRESS_STREET
=
15
,
IS_ADDRESS_STATEORPROVINCE
=
16
,
IS_ADDRESS_CITY
=
17
,
IS_ADDRESS_COUNTRYNAME
=
18
,
IS_ADDRESS_COUNTRYSHORTNAME
=
19
,
IS_CURRENCY_AMOUNTANDSYMBOL
=
20
,
IS_CURRENCY_AMOUNT
=
21
,
IS_DATE_FULLDATE
=
22
,
IS_DATE_MONTH
=
23
,
IS_DATE_DAY
=
24
,
IS_DATE_YEAR
=
25
,
IS_DATE_MONTHNAME
=
26
,
IS_DATE_DAYNAME
=
27
,
IS_DIGITS
=
28
,
IS_NUMBER
=
29
,
IS_ONECHAR
=
30
,
IS_PASSWORD
=
31
,
IS_TELEPHONE_FULLTELEPHONENUMBER
=
32
,
IS_TELEPHONE_COUNTRYCODE
=
33
,
IS_TELEPHONE_AREACODE
=
34
,
IS_TELEPHONE_LOCALNUMBER
=
35
,
IS_TIME_FULLTIME
=
36
,
IS_TIME_HOUR
=
37
,
IS_TIME_MINORSEC
=
38
,
IS_NUMBER_FULLWIDTH
=
39
,
IS_ALPHANUMERIC_HALFWIDTH
=
40
,
IS_ALPHANUMERIC_FULLWIDTH
=
41
,
IS_CURRENCY_CHINESE
=
42
,
IS_BOPOMOFO
=
43
,
IS_HIRAGANA
=
44
,
IS_KATAKANA_HALFWIDTH
=
45
,
IS_KATAKANA_FULLWIDTH
=
46
,
IS_HANJA
=
47
,
IS_HANGUL_HALFWIDTH
=
48
,
IS_HANGUL_FULLWIDTH
=
49
,
IS_SEARCH
=
50
,
IS_FORMULA
=
51
,
IS_SEARCH_INCREMENTAL
=
52
,
IS_CHINESE_HALFWIDTH
=
53
,
IS_CHINESE_FULLWIDTH
=
54
,
IS_NATIVE_SCRIPT
=
55
,
IS_PHRASELIST
=
-
1
,
IS_REGULAREXPRESSION
=
-
2
,
IS_SRGS
=
-
3
,
IS_XML
=
-
4
,
IS_ENUMSTRING
=
-
5
}
InputScope
;
cpp_quote
(
"HRESULT WINAPI SetInputScope(HWND hwnd,InputScope inputscope);"
)
cpp_quote
(
"HRESULT WINAPI SetInputScopes(HWND hwnd,const InputScope *pInputScopes,UINT cInputScopes,WCHAR **ppszPhraseList,UINT cPhrases,WCHAR *pszRegExp,WCHAR *pszSRGS);"
)
cpp_quote
(
"HRESULT WINAPI SetInputScopeXML(HWND hwnd,WCHAR *pszXML);"
)
cpp_quote
(
"DEFINE_GUID(GUID_PROP_INPUTSCOPE,0x1713dd5a,0x68e7,0x4a5b,0x9a,0xf6,0x59,0x2a,0x59,0x5c,0x77,0x8d);"
)
[
object
,
uuid
(
fde1eaee
-
6924
-
4
cdf
-
91
e7
-
da38cff5559d
),
pointer_default
(
unique
)
]
interface
ITfInputScope
:
IUnknown
{
HRESULT
GetInputScopes
(
[
out
,
size_is
(,
*
pcCount
)
]
InputScope
**
pprgInputScopes
,
[
out
]
UINT
*
pcCount
)
;
HRESULT
GetPhrase
(
[
out
,
size_is
(,
*
pcCount
)
]
BSTR
**
ppbstrPhrases
,
[
out
]
UINT
*
pcCount
)
;
HRESULT
GetRegularExpression
(
[
out
]
BSTR
*
pbstrRegExp
)
;
HRESULT
GetSRGS
(
[
out
]
BSTR
*
pbstrSRGS
)
;
HRESULT
GetXML
(
[
out
]
BSTR
*
pbstrXML
)
;
}
include/msctf.idl
View file @
b25983ff
...
...
@@ -29,8 +29,6 @@ cpp_quote("#define TF_E_DISCONNECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_IT
cpp_quote
(
"#define TF_E_ALREADY_EXISTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0506)"
)
cpp_quote
(
"#define TF_E_NOLOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0201)"
)
cpp_quote
(
"HRESULT WINAPI SetInputScope(HWND hwnd, INT inputscope);"
)
cpp_quote
(
"HRESULT WINAPI SetInputScopes(HWND hwnd, const INT *pInputScopes, UINT cInputScopes, WCHAR **ppszPhraseList, UINT cPhrases, WCHAR *pszRegExp, WCHAR *pszSRGS);"
)
cpp_quote
(
"HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim);"
)
cpp_quote
(
"HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim);"
)
cpp_quote
(
"HRESULT WINAPI TF_CreateInputProcessorProfiles(ITfInputProcessorProfiles **ppipr);"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment