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
8d690e7e
Commit
8d690e7e
authored
Aug 14, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Added IImgCtx definition.
parent
8bb4525e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
71 additions
and
0 deletions
+71
-0
Makefile.in
include/Makefile.in
+1
-0
iimgctx.idl
include/iimgctx.idl
+70
-0
No files found.
include/Makefile.in
View file @
8d690e7e
...
@@ -57,6 +57,7 @@ PUBLIC_IDL_H_SRCS = \
...
@@ -57,6 +57,7 @@ PUBLIC_IDL_H_SRCS = \
iads.idl
\
iads.idl
\
icftypes.idl
\
icftypes.idl
\
iextag.idl
\
iextag.idl
\
iimgctx.idl
\
imnact.idl
\
imnact.idl
\
imnxport.idl
\
imnxport.idl
\
indexsrv.idl
\
indexsrv.idl
\
...
...
include/iimgctx.idl
0 → 100644
View file @
8d690e7e
/*
*
Copyright
2015
Nikolay
Sivov
for
CodeWeavers
*
*
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
*/
import
"unknwn.idl"
;
cpp_quote
(
"#define IMGCHG_SIZE 0x0001"
)
cpp_quote
(
"#define IMGCHG_VIEW 0x0002"
)
cpp_quote
(
"#define IMGCHG_COMPLETE 0x0004"
)
cpp_quote
(
"#define IMGCHG_ANIMATE 0x0008"
)
cpp_quote
(
"#define IMGCHG_MASK 0x000f"
)
cpp_quote
(
"#define IMGLOAD_NOTLOADED 0x00100000"
)
cpp_quote
(
"#define IMGLOAD_LOADING 0x00200000"
)
cpp_quote
(
"#define IMGLOAD_STOPPED 0x00400000"
)
cpp_quote
(
"#define IMGLOAD_ERROR 0x00800000"
)
cpp_quote
(
"#define IMGLOAD_COMPLETE 0x01000000"
)
cpp_quote
(
"#define IMGLOAD_MASK 0x01f00000"
)
cpp_quote
(
"#define IMGBITS_NONE 0x02000000"
)
cpp_quote
(
"#define IMGBITS_PARTIAL 0x04000000"
)
cpp_quote
(
"#define IMGBITS_TOTAL 0x08000000"
)
cpp_quote
(
"#define IMGBITS_MASK 0x0e000000"
)
cpp_quote
(
"#define IMGANIM_ANIMATED 0x10000000"
)
cpp_quote
(
"#define IMGANIM_MASK 0x10000000"
)
cpp_quote
(
"#define IMGTRANS_OPAQUE 0x20000000"
)
cpp_quote
(
"#define IMGTRANS_MASK 0x20000000"
)
cpp_quote
(
"#define DWN_COLORMODE 0x0000003f"
)
cpp_quote
(
"#define DWN_DOWNLOADONLY 0x00000040"
)
cpp_quote
(
"#define DWN_FORCEDITHER 0x00000080"
)
cpp_quote
(
"#define DWN_RAWIMAGE 0x00000100"
)
cpp_quote
(
"#define DWN_MIRRORIMAGE 0x00000200"
)
typedef
void
(
__stdcall
*
PFNIMGCTXCALLBACK
)(
void
*
,
void
*
)
;
[
local
,
object
,
uuid
(
3050
f3d7
-
98b5
-
11
cf
-
bb82
-
00
aa00bdce0b
)
]
interface
IImgCtx
:
IUnknown
{
HRESULT
Load
(
LPCWSTR
url
,
DWORD
flags
)
;
HRESULT
SelectChanges
(
ULONG
changeon
,
ULONG
changeoff
,
BOOL
signal
)
;
HRESULT
SetCallback
(
PFNIMGCTXCALLBACK
fn
,
void
*
priv
)
;
HRESULT
Disconnect
()
;
HRESULT
GetUpdateRects
(
RECT
*
rect
,
RECT
*
img
,
LONG
*
pcrc
)
;
HRESULT
GetStateInfo
(
ULONG
*
state
,
SIZE
*
size
,
BOOL
clear_changes
)
;
HRESULT
GetPalette
(
HPALETTE
*
hpal
)
;
HRESULT
Draw
(
HDC
hdc
,
RECT
*
bounds
)
;
HRESULT
Tile
(
HDC
hdc
,
POINT
*
backorg
,
RECT
*
clip
,
SIZE
*
size
)
;
HRESULT
StretchBlt
(
HDC
hdc
,
int
dstX
,
int
dstY
,
int
dstXE
,
int
dstYE
,
int
srcX
,
int
srcY
,
int
srcXE
,
int
srcYE
,
DWORD
rop
)
;
}
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