Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Bond
wine
Commits
290c5de8
Commit
290c5de8
authored
15 years ago
by
Damjan Jovanovic
Committed by
Alexandre Julliard
15 years ago
Browse files
Options
Downloads
Patches
Plain Diff
wia: Add rudimentary wia headers.
parent
0513f3c4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
include/Makefile.in
+3
-0
3 additions, 0 deletions
include/Makefile.in
include/wia.h
+24
-0
24 additions, 0 deletions
include/wia.h
include/wia_lh.idl
+127
-0
127 additions, 0 deletions
include/wia_lh.idl
include/wia_xp.idl
+127
-0
127 additions, 0 deletions
include/wia_xp.idl
with
283 additions
and
0 deletions
.gitignore
+
2
−
0
View file @
290c5de8
...
...
@@ -194,6 +194,8 @@ include/urlhist.h
include/urlmon.h
include/vmr9.h
include/wbemcli.h
include/wia_lh.h
include/wia_xp.h
include/wincodec.h
include/wine/itss.h
include/wine/svcctl.h
...
...
This diff is collapsed.
Click to expand it.
include/Makefile.in
+
3
−
0
View file @
290c5de8
...
...
@@ -81,6 +81,8 @@ PUBLIC_IDL_H_SRCS = \
urlmon.idl
\
vmr9.idl
\
wbemcli.idl
\
wia_lh.idl
\
wia_xp.idl
\
wincodec.idl
\
wine/itss.idl
\
wine/svcctl.idl
\
...
...
@@ -455,6 +457,7 @@ SRCDIR_INCLUDES = \
vfwmsgs.h
\
vmrender.idl
\
wfext.h
\
wia.h
\
winbase.h
\
wincon.h
\
wincred.h
\
...
...
This diff is collapsed.
Click to expand it.
include/wia.h
0 → 100644
+
24
−
0
View file @
290c5de8
/*
* Copyright (C) 2009 Damjan Jovanovic
*
* 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
*/
#if (_WIN32_WINNT >= 0x0600)
#include
<wia_lh.h>
#elif (_WIN32_WINNT >= 0x0501)
#include
<wia_xp.h>
#endif
This diff is collapsed.
Click to expand it.
include/wia_lh.idl
0 → 100644
+
127
−
0
View file @
290c5de8
/*
*
Copyright
2009
Damjan
Jovanovic
*
*
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
"wtypes.idl"
;
import
"objidl.idl"
;
interface
IEnumWIA_DEV_INFO
;
interface
IWiaItem
;
interface
IWiaEventCallback
;
cpp_quote
(
"DEFINE_GUID(CLSID_WiaDevMgr, 0xa1f4e726,0x8cf1,0x11d1,0xbf,0x92,0x00,0x60,0x08,0x1e,0xd8,0x11);"
)
[
object
,
uuid
(
5
eb2502a
-
8
cf1
-
11
d1
-
bf92
-
0060081
ed811
)
]
interface
IWiaDevMgr
:
IUnknown
{
HRESULT
EnumDeviceInfo
(
[
in
]
LONG
lFlag
,
[
retval
,
out
]
IEnumWIA_DEV_INFO
**
ppIEnum
)
;
HRESULT
CreateDevice
(
[
in
]
BSTR
bstrDeviceID
,
[
out
]
IWiaItem
**
ppWiaItemRoot
)
;
HRESULT
SelectDeviceDlg
(
[
in
]
HWND
hwndParent
,
[
in
]
LONG
lDeviceType
,
[
in
]
LONG
lFlags
,
[
in
,
out
]
BSTR
*
pbstrDeviceID
,
[
retval
,
out
]
IWiaItem
**
ppItemRoot
)
;
HRESULT
SelectDeviceDlgID
(
[
in
]
HWND
hwndParent
,
[
in
]
LONG
lDeviceType
,
[
in
]
LONG
lFlags
,
[
retval
,
out
]
BSTR
*
pbstrDeviceID
)
;
HRESULT
GetImageDlg
(
[
in
]
HWND
hwndParent
,
[
in
]
LONG
lDeviceType
,
[
in
]
LONG
lFlags
,
[
in
]
LONG
lIntent
,
[
in
]
IWiaItem
*
pItemRoot
,
[
in
]
BSTR
bstrFilename
,
[
in
,
out
]
GUID
*
pguidFormat
)
;
HRESULT
RegisterEventCallbackProgram
(
[
in
]
LONG
lFlags
,
[
in
]
BSTR
bstrDeviceID
,
[
in
]
const
GUID
*
pEventGUID
,
[
in
]
BSTR
bstrCommandline
,
[
in
]
BSTR
bstrName
,
[
in
]
BSTR
bstrDescription
,
[
in
]
BSTR
bstrIcon
)
;
HRESULT
RegisterEventCallbackInterface
(
[
in
]
LONG
lFlags
,
[
in
]
BSTR
bstrDeviceID
,
[
in
]
const
GUID
*
pEventGUID
,
[
unique
,
in
]
IWiaEventCallback
*
pIWiaEventCallback
,
[
out
]
IUnknown
**
pEventObject
)
;
HRESULT
RegisterEventCallbackCLSID
(
[
in
]
LONG
lFlags
,
[
in
]
BSTR
bstrDeviceID
,
[
in
]
const
GUID
*
pEventGUID
,
[
unique
,
in
]
const
GUID
*
pClsID
,
[
in
]
BSTR
bstrName
,
[
in
]
BSTR
bstrDescription
,
[
in
]
BSTR
bstrIcon
)
;
HRESULT
AddDeviceDlg
(
[
in
]
HWND
hwndParent
,
[
in
]
LONG
lFlags
)
;
}
[
object
,
uuid
(
5
e38b83c
-
8
cf1
-
11
d1
-
bf92
-
0060081
ed811
)
]
interface
IEnumWIA_DEV_INFO
:
IUnknown
{
/*
fill
in
*/
}
[
object
,
uuid
(
4
db1ad10
-
3391
-
11
d2
-
9
a33
-
00
c04fa36145
)
]
interface
IWiaItem
:
IUnknown
{
/*
FIXME
:
fill
in
*/
}
[
object
,
uuid
(
ae6287b0
-
0084
-
11
d2
-
973b
-
00
a0c9068f2e
)
]
interface
IWiaEventCallback
:
IUnknown
{
HRESULT
ImageEventCallback
(
[
in
]
const
GUID
*
pEventGUID
,
[
in
]
BSTR
bstrEventDescription
,
[
in
]
BSTR
bstrDeviceID
,
[
in
]
BSTR
bstrDeviceDescription
,
[
in
]
DWORD
dwDeviceType
,
[
in
]
BSTR
bstrFullItemName
,
[
in
,
out
]
ULONG
*
pulEventType
,
[
in
]
ULONG
ulReserved
)
;
}
This diff is collapsed.
Click to expand it.
include/wia_xp.idl
0 → 100644
+
127
−
0
View file @
290c5de8
/*
*
Copyright
2009
Damjan
Jovanovic
*
*
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
"wtypes.idl"
;
import
"objidl.idl"
;
interface
IEnumWIA_DEV_INFO
;
interface
IWiaItem
;
interface
IWiaEventCallback
;
cpp_quote
(
"DEFINE_GUID(CLSID_WiaDevMgr, 0xa1f4e726,0x8cf1,0x11d1,0xbf,0x92,0x00,0x60,0x08,0x1e,0xd8,0x11);"
)
[
object
,
uuid
(
5
eb2502a
-
8
cf1
-
11
d1
-
bf92
-
0060081
ed811
)
]
interface
IWiaDevMgr
:
IUnknown
{
HRESULT
EnumDeviceInfo
(
[
in
]
LONG
lFlag
,
[
retval
,
out
]
IEnumWIA_DEV_INFO
**
ppIEnum
)
;
HRESULT
CreateDevice
(
[
in
]
BSTR
bstrDeviceID
,
[
out
]
IWiaItem
**
ppWiaItemRoot
)
;
HRESULT
SelectDeviceDlg
(
[
in
]
HWND
hwndParent
,
[
in
]
LONG
lDeviceType
,
[
in
]
LONG
lFlags
,
[
in
,
out
]
BSTR
*
pbstrDeviceID
,
[
retval
,
out
]
IWiaItem
**
ppItemRoot
)
;
HRESULT
SelectDeviceDlgID
(
[
in
]
HWND
hwndParent
,
[
in
]
LONG
lDeviceType
,
[
in
]
LONG
lFlags
,
[
retval
,
out
]
BSTR
*
pbstrDeviceID
)
;
HRESULT
GetImageDlg
(
[
in
]
HWND
hwndParent
,
[
in
]
LONG
lDeviceType
,
[
in
]
LONG
lFlags
,
[
in
]
LONG
lIntent
,
[
in
]
IWiaItem
*
pItemRoot
,
[
in
]
BSTR
bstrFilename
,
[
in
,
out
]
GUID
*
pguidFormat
)
;
HRESULT
RegisterEventCallbackProgram
(
[
in
]
LONG
lFlags
,
[
in
]
BSTR
bstrDeviceID
,
[
in
]
const
GUID
*
pEventGUID
,
[
in
]
BSTR
bstrCommandline
,
[
in
]
BSTR
bstrName
,
[
in
]
BSTR
bstrDescription
,
[
in
]
BSTR
bstrIcon
)
;
HRESULT
RegisterEventCallbackInterface
(
[
in
]
LONG
lFlags
,
[
in
]
BSTR
bstrDeviceID
,
[
in
]
const
GUID
*
pEventGUID
,
[
unique
,
in
]
IWiaEventCallback
*
pIWiaEventCallback
,
[
out
]
IUnknown
**
pEventObject
)
;
HRESULT
RegisterEventCallbackCLSID
(
[
in
]
LONG
lFlags
,
[
in
]
BSTR
bstrDeviceID
,
[
in
]
const
GUID
*
pEventGUID
,
[
unique
,
in
]
const
GUID
*
pClsID
,
[
in
]
BSTR
bstrName
,
[
in
]
BSTR
bstrDescription
,
[
in
]
BSTR
bstrIcon
)
;
HRESULT
AddDeviceDlg
(
[
in
]
HWND
hwndParent
,
[
in
]
LONG
lFlags
)
;
}
[
object
,
uuid
(
5
e38b83c
-
8
cf1
-
11
d1
-
bf92
-
0060081
ed811
)
]
interface
IEnumWIA_DEV_INFO
:
IUnknown
{
/*
fill
in
*/
}
[
object
,
uuid
(
4
db1ad10
-
3391
-
11
d2
-
9
a33
-
00
c04fa36145
)
]
interface
IWiaItem
:
IUnknown
{
/*
FIXME
:
fill
in
*/
}
[
object
,
uuid
(
ae6287b0
-
0084
-
11
d2
-
973b
-
00
a0c9068f2e
)
]
interface
IWiaEventCallback
:
IUnknown
{
HRESULT
ImageEventCallback
(
[
in
]
const
GUID
*
pEventGUID
,
[
in
]
BSTR
bstrEventDescription
,
[
in
]
BSTR
bstrDeviceID
,
[
in
]
BSTR
bstrDeviceDescription
,
[
in
]
DWORD
dwDeviceType
,
[
in
]
BSTR
bstrFullItemName
,
[
in
,
out
]
ULONG
*
pulEventType
,
[
in
]
ULONG
ulReserved
)
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment