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
997bb894
Commit
997bb894
authored
Oct 12, 2007
by
John Klehm
Committed by
Alexandre Julliard
Oct 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inkobj: Stub implementation of IInkCollector.
parent
e92819d8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
421 additions
and
1 deletion
+421
-1
Makefile.in
dlls/inkobj/Makefile.in
+2
-1
inkcollector.c
dlls/inkobj/inkcollector.c
+413
-0
inkobj_internal.h
dlls/inkobj/inkobj_internal.h
+5
-0
msinkaut.idl
include/msinkaut.idl
+1
-0
No files found.
dlls/inkobj/Makefile.in
View file @
997bb894
...
@@ -3,9 +3,10 @@ TOPOBJDIR = ../..
...
@@ -3,9 +3,10 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
inkobj.dll
MODULE
=
inkobj.dll
IMPORTS
=
kernel32
IMPORTS
=
ole32
kernel32
C_SRCS
=
\
C_SRCS
=
\
inkcollector.c
\
inkobj.c
inkobj.c
@MAKE_DLL_RULES@
@MAKE_DLL_RULES@
...
...
dlls/inkobj/inkcollector.c
0 → 100644
View file @
997bb894
/* Copyright (C) 2007 C John Klehm
*
* 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
*/
#include "inkobj_internal.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
inkobj
);
typedef
struct
tagInkCollector
{
IInkCollectorVtbl
*
lpVtbl
;
ULONG
refCount
;
}
InkCollector
;
static
HRESULT
WINAPI
InkCollector_QueryInterface
(
IInkCollector
*
This
,
REFIID
riid
,
void
**
ppvObject
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOINTERFACE
;
}
static
ULONG
WINAPI
InkCollector_AddRef
(
IInkCollector
*
This
)
{
FIXME
(
"stub!
\n
"
);
return
0
;
}
static
ULONG
WINAPI
InkCollector_Release
(
IInkCollector
*
This
)
{
FIXME
(
"stub!
\n
"
);
return
0
;
}
static
HRESULT
WINAPI
InkCollector_GetTypeInfoCount
(
IInkCollector
*
This
,
UINT
*
pctinfo
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_GetTypeInfo
(
IInkCollector
*
This
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_GetIDsOfNames
(
IInkCollector
*
This
,
REFIID
riid
,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_Invoke
(
IInkCollector
*
This
,
DISPID
dispIdMember
,
REFIID
riid
,
LCID
lcid
,
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_hWnd
(
IInkCollector
*
This
,
long
*
CurrentWindow
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_put_hWnd
(
IInkCollector
*
This
,
long
CurrentWindow
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_Enabled
(
IInkCollector
*
This
,
VARIANT_BOOL
*
Collecting
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_put_Enabled
(
IInkCollector
*
This
,
VARIANT_BOOL
Collecting
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_DefaultDrawingAttributes
(
IInkCollector
*
This
,
IInkDrawingAttributes
**
CurrentAttributes
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_putref_DefaultDrawingAttributes
(
IInkCollector
*
This
,
IInkDrawingAttributes
*
CurrentAttributes
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_Renderer
(
IInkCollector
*
This
,
IInkRenderer
**
CurrentInkRenderer
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_putref_Renderer
(
IInkCollector
*
This
,
IInkRenderer
*
CurrentInkRenderer
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_Ink
(
IInkCollector
*
This
,
IInkDisp
**
Ink
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_putref_Ink
(
IInkCollector
*
This
,
IInkDisp
*
Ink
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_AutoRedraw
(
IInkCollector
*
This
,
VARIANT_BOOL
*
AutoRedraw
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_put_AutoRedraw
(
IInkCollector
*
This
,
VARIANT_BOOL
AutoRedraw
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_CollectingInk
(
IInkCollector
*
This
,
VARIANT_BOOL
*
Collecting
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_CollectionMode
(
IInkCollector
*
This
,
InkCollectionMode
*
Mode
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_put_CollectionMode
(
IInkCollector
*
This
,
InkCollectionMode
Mode
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_DynamicRendering
(
IInkCollector
*
This
,
VARIANT_BOOL
*
Enabled
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_put_DynamicRendering
(
IInkCollector
*
This
,
VARIANT_BOOL
Enabled
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_DesiredPacketDescription
(
IInkCollector
*
This
,
VARIANT
*
PacketGuids
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_put_DesiredPacketDescription
(
IInkCollector
*
This
,
VARIANT
PacketGuids
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_MouseIcon
(
IInkCollector
*
This
,
IPictureDisp
**
MouseIcon
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_put_MouseIcon
(
IInkCollector
*
This
,
IPictureDisp
*
MouseIcon
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_putref_MouseIcon
(
IInkCollector
*
This
,
IPictureDisp
*
MouseIcon
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_MousePointer
(
IInkCollector
*
This
,
InkMousePointer
*
MousePointer
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_put_MousePointer
(
IInkCollector
*
This
,
InkMousePointer
MousePointer
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_Cursors
(
IInkCollector
*
This
,
IInkCursors
**
Cursors
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_MarginX
(
IInkCollector
*
This
,
long
*
MarginX
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_put_MarginX
(
IInkCollector
*
This
,
long
MarginX
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_MarginY
(
IInkCollector
*
This
,
long
*
MarginY
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_put_MarginY
(
IInkCollector
*
This
,
long
MarginY
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_Tablet
(
IInkCollector
*
This
,
IInkTablet
**
SingleTablet
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_get_SupportHighContrastInk
(
IInkCollector
*
This
,
VARIANT_BOOL
*
Support
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_put_SupportHighContrastInk
(
IInkCollector
*
This
,
VARIANT_BOOL
Support
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_SetGestureStatus
(
IInkCollector
*
This
,
InkApplicationGesture
Gesture
,
VARIANT_BOOL
Listen
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_GetGestureStatus
(
IInkCollector
*
This
,
InkApplicationGesture
Gesture
,
VARIANT_BOOL
*
Listen
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_GetWindowInputRectangle
(
IInkCollector
*
This
,
IInkRectangle
**
WindowInputRectangle
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_SetWindowInputRectangle
(
IInkCollector
*
This
,
IInkRectangle
*
WindowInputRectangle
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_SetAllTabletsMode
(
IInkCollector
*
This
,
VARIANT_BOOL
UseMouseForInput
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_SetSingleTabletIntegratedMode
(
IInkCollector
*
This
,
IInkTablet
*
Tablet
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_GetEventInterest
(
IInkCollector
*
This
,
InkCollectorEventInterest
EventId
,
VARIANT_BOOL
*
Listen
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
InkCollector_SetEventInterest
(
IInkCollector
*
This
,
InkCollectorEventInterest
EventId
,
VARIANT_BOOL
Listen
)
{
FIXME
(
"stub!
\n
"
);
return
E_NOTIMPL
;
}
static
const
IInkCollectorVtbl
InkCollectorVtbl
=
{
InkCollector_QueryInterface
,
InkCollector_AddRef
,
InkCollector_Release
,
InkCollector_GetTypeInfoCount
,
InkCollector_GetTypeInfo
,
InkCollector_GetIDsOfNames
,
InkCollector_Invoke
,
InkCollector_get_hWnd
,
InkCollector_put_hWnd
,
InkCollector_get_Enabled
,
InkCollector_put_Enabled
,
InkCollector_get_DefaultDrawingAttributes
,
InkCollector_putref_DefaultDrawingAttributes
,
InkCollector_get_Renderer
,
InkCollector_putref_Renderer
,
InkCollector_get_Ink
,
InkCollector_putref_Ink
,
InkCollector_get_AutoRedraw
,
InkCollector_put_AutoRedraw
,
InkCollector_get_CollectingInk
,
InkCollector_get_CollectionMode
,
InkCollector_put_CollectionMode
,
InkCollector_get_DynamicRendering
,
InkCollector_put_DynamicRendering
,
InkCollector_get_DesiredPacketDescription
,
InkCollector_put_DesiredPacketDescription
,
InkCollector_get_MouseIcon
,
InkCollector_put_MouseIcon
,
InkCollector_putref_MouseIcon
,
InkCollector_get_MousePointer
,
InkCollector_put_MousePointer
,
InkCollector_get_Cursors
,
InkCollector_get_MarginX
,
InkCollector_put_MarginX
,
InkCollector_get_MarginY
,
InkCollector_put_MarginY
,
InkCollector_get_Tablet
,
InkCollector_get_SupportHighContrastInk
,
InkCollector_put_SupportHighContrastInk
,
InkCollector_SetGestureStatus
,
InkCollector_GetGestureStatus
,
InkCollector_GetWindowInputRectangle
,
InkCollector_SetWindowInputRectangle
,
InkCollector_SetAllTabletsMode
,
InkCollector_SetSingleTabletIntegratedMode
,
InkCollector_GetEventInterest
,
InkCollector_SetEventInterest
};
dlls/inkobj/inkobj_internal.h
View file @
997bb894
...
@@ -23,6 +23,11 @@
...
@@ -23,6 +23,11 @@
#include "winbase.h"
#include "winbase.h"
#include "winerror.h"
#include "winerror.h"
#define COBJMACROS
#include "winuser.h"
#include "ole2.h"
#include "msinkaut.h"
#include "wine/debug.h"
#include "wine/debug.h"
extern
LONG
INKOBJ_refCount
;
extern
LONG
INKOBJ_refCount
;
...
...
include/msinkaut.idl
View file @
997bb894
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
*/
import
"oaidl.idl"
;
import
"ocidl.idl"
;
import
"ocidl.idl"
;
[
[
...
...
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