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
8d1b119b
Commit
8d1b119b
authored
Jan 22, 2019
by
Biswapriyo Nath
Committed by
Alexandre Julliard
Jan 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Update thumbcache.idl file.
Signed-off-by:
Biswapriyo Nath
<
nathbappai@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
508764a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
137 additions
and
0 deletions
+137
-0
thumbcache.idl
include/thumbcache.idl
+137
-0
No files found.
include/thumbcache.idl
View file @
8d1b119b
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
import
"oaidl.idl"
;
import
"oaidl.idl"
;
import
"shtypes.idl"
;
import
"shtypes.idl"
;
import
"shobjidl.idl"
;
typedef
[
v1_enum
]
enum
WTS_FLAGS
typedef
[
v1_enum
]
enum
WTS_FLAGS
{
{
...
@@ -40,9 +41,145 @@ typedef [v1_enum] enum WTS_FLAGS
...
@@ -40,9 +41,145 @@ typedef [v1_enum] enum WTS_FLAGS
WTS_SCALEUP
=
0
x00010000
,
WTS_SCALEUP
=
0
x00010000
,
}
WTS_FLAGS
;
}
WTS_FLAGS
;
cpp_quote
(
"DEFINE_ENUM_FLAG_OPERATORS(WTS_FLAGS)"
)
typedef
[
v1_enum
]
enum
WTS_CACHEFLAGS
{
WTS_DEFAULT
=
0
x00000000
,
WTS_LOWQUALITY
=
0
x00000001
,
WTS_CACHED
=
0
x00000002
,
}
WTS_CACHEFLAGS
;
cpp_quote
(
"DEFINE_ENUM_FLAG_OPERATORS(WTS_CACHEFLAGS)"
)
typedef
[
v1_enum
]
enum
WTS_CONTEXTFLAGS
{
WTSCF_DEFAULT
=
0
x00000000
,
WTSCF_APPSTYLE
=
0
x00000001
,
WTSCF_SQUARE
=
0
x00000002
,
WTSCF_WIDE
=
0
x00000004
,
WTSCF_FAST
=
0
x00000008
,
}
WTS_CONTEXTFLAGS
;
cpp_quote
(
"DEFINE_ENUM_FLAG_OPERATORS(WTS_CONTEXTFLAGS)"
)
typedef
[
v1_enum
]
enum
WTS_ALPHATYPE
typedef
[
v1_enum
]
enum
WTS_ALPHATYPE
{
{
WTSAT_UNKNOWN
=
0
,
WTSAT_UNKNOWN
=
0
,
WTSAT_RGB
=
1
,
WTSAT_RGB
=
1
,
WTSAT_ARGB
=
2
WTSAT_ARGB
=
2
}
WTS_ALPHATYPE
;
}
WTS_ALPHATYPE
;
typedef
struct
WTS_THUMBNAILID
{
BYTE
rgbKey
[
16
]
;
}
WTS_THUMBNAILID
;
cpp_quote
(
"#define WTS_E_FAILEDEXTRACTION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xb200)"
)
cpp_quote
(
"#define WTS_E_EXTRACTIONTIMEDOUT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xb201)"
)
cpp_quote
(
"#define WTS_E_SURROGATEUNAVAILABLE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xb202)"
)
cpp_quote
(
"#define WTS_E_FASTEXTRACTIONNOTSUPPORTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xb203)"
)
cpp_quote
(
"#define WTS_E_DATAFILEUNAVAILABLE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xb204)"
)
cpp_quote
(
"#define WTS_E_EXTRACTIONPENDING MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xb205)"
)
cpp_quote
(
"#define WTS_E_EXTRACTIONBLOCKED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xb206)"
)
[
uuid
(
091162
a4
-
bc96
-
411
f
-
aae8
-
c5122cd03363
),
pointer_default
(
unique
),
]
interface
ISharedBitmap
:
IUnknown
{
HRESULT
GetSharedBitmap
(
[
out
]
HBITMAP
*
phbm
)
;
HRESULT
GetSize
(
[
out
]
SIZE
*
pSize
)
;
HRESULT
GetFormat
(
[
out
]
WTS_ALPHATYPE
*
pat
)
;
HRESULT
InitializeBitmap
(
[
in
]
HBITMAP
hbm
,
[
in
]
WTS_ALPHATYPE
wtsAT
)
;
HRESULT
Detach
(
[
out
]
HBITMAP
*
phbm
)
;
}
[
object
,
uuid
(
f676c15d
-
596
a
-
4
ce2
-
8234
-
33996
f445db1
),
]
interface
IThumbnailCache
:
IUnknown
{
[
local
]
HRESULT
GetThumbnail
(
[
in
]
IShellItem
*
pShellItem
,
[
in
]
UINT
cxyRequestedThumbSize
,
[
in
]
WTS_FLAGS
flags
,
[
out
,
unique
]
ISharedBitmap
**
ppvThumb
,
[
out
,
unique
]
WTS_CACHEFLAGS
*
pOutFlags
,
[
out
,
unique
]
WTS_THUMBNAILID
*
pThumbnailID
)
;
[
call_as
(
GetThumbnail
)
]
HRESULT
RemoteGetThumbnail
(
[
in
]
IShellItem
*
pShellItem
,
[
in
]
UINT
cxyRequestedThumbSize
,
[
in
]
WTS_FLAGS
flags
,
[
out
]
ISharedBitmap
**
ppvThumb
,
[
out
]
WTS_CACHEFLAGS
*
pOutFlags
,
[
out
]
WTS_THUMBNAILID
*
pThumbnailID
)
;
[
local
]
HRESULT
GetThumbnailByID
(
[
in
]
WTS_THUMBNAILID
thumbnailID
,
[
in
]
UINT
cxyRequestedThumbSize
,
[
out
,
unique
]
ISharedBitmap
**
ppvThumb
,
[
out
,
unique
]
WTS_CACHEFLAGS
*
pOutFlags
)
;
[
call_as
(
GetThumbnailByID
)
]
HRESULT
RemoteGetThumbnailByID
(
[
in
]
WTS_THUMBNAILID
thumbnailID
,
[
in
]
UINT
cxyRequestedThumbSize
,
[
out
]
ISharedBitmap
**
ppvThumb
,
[
out
]
WTS_CACHEFLAGS
*
pOutFlags
)
;
}
[
uuid
(
e357fccd
-
a995
-
4576
-
b01f
-
234630154
e96
),
]
interface
IThumbnailProvider
:
IUnknown
{
HRESULT
GetThumbnail
(
[
in
]
UINT
cx
,
[
out
]
HBITMAP
*
phbmp
,
[
out
]
WTS_ALPHATYPE
*
pdwAlpha
)
;
}
[
uuid
(
f4376f00
-
bef5
-
4
d45
-
80
f3
-
1
e023bbf1209
),
]
interface
IThumbnailSettings
:
IUnknown
{
HRESULT
SetContext
(
[
in
]
WTS_CONTEXTFLAGS
dwContext
)
;
}
[
uuid
(
0
f03f8fe
-
2b26
-
46
f0
-
965
a
-
212
aa8d66b76
),
object
,
pointer_default
(
unique
)
]
interface
IThumbnailCachePrimer
:
IUnknown
{
HRESULT
PageInThumbnail
(
[
in
]
IShellItem
*
psi
,
[
in
]
WTS_FLAGS
wtsFlags
,
[
in
]
UINT
cxyRequestedThumbSize
)
;
}
[
uuid
(
4
c857096
-
0514
-
4
d4d
-
abd5
-
dfaaa3c326d2
)
]
library
ThumbCacheLib
{
[
uuid
(
50
ef4544
-
ac9f
-
4
a8e
-
b21b
-
8
a26180db13f
)
]
coclass
LocalThumbnailCache
{
interface
IThumbnailCache
;
}
[
uuid
(
4
db26476
-
6787
-
4046
-
b836
-
e8412a9e8a27
)
]
coclass
SharedBitmap
{
interface
ISharedBitmap
;
}
}
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