1 /* Copyright (C) 2007 C John Klehm
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2.1 of the License, or (at your option) any later version.
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 uuid(7D868ACD
-1A5D
-4A47
-A247
-F39741353012
),
27 importlib
("stdole2.tlb");
33 uuid(DB489209
-B7C3
-411D
-90F6
-1548CFFF271E
),
37 interface IInkExtendedProperty
: IDispatch
{
38 [id(0x00000001), propget] HRESULT Guid
([out, retval] BSTR* Guid
);
39 [id(0x00000002), propget] HRESULT Data
([out, retval] VARIANT* Data
);
40 [id(0x00000002), propput] HRESULT Data
([in] VARIANT Data
);
45 uuid(89F2A8BE
-95A9
-4530-8B8F
-88E971E3E25F
),
49 interface IInkExtendedProperties
: IDispatch
{
50 HRESULT Count
([out, retval] long* Count
);
51 HRESULT _NewEnum
([out, retval] IUnknown
** _NewEnum
);
53 [in] VARIANT Identifier
,
54 [out, retval] IInkExtendedProperty
** Item
);
58 [out, retval] IInkExtendedProperty
** InkExtendedProperty
);
59 HRESULT Remove
([in] VARIANT Identifier
);
61 HRESULT DoesPropertyExist
(
63 [out, retval] VARIANT_BOOL* DoesPropertyExist
);
92 uuid(BF519B75
-0A15
-4623-ADC9
-C00D436A8092
),
96 interface IInkDrawingAttributes
: IDispatch
{
97 [id(0x00000002), propget] HRESULT Color
(
98 [out, retval] long* CurrentColor
);
99 [id(0x00000002), propput] HRESULT Color
([in] long CurrentColor
);
100 [id(0x00000003), propget] HRESULT Width
(
101 [out, retval] single
* CurrentWidth
);
102 [id(0x00000003), propput] HRESULT Width
([in] single CurrentWidth
);
103 [id(0x00000001), propget] HRESULT Height
(
104 [out, retval] single
* CurrentHeight
);
105 [id(0x00000001), propput] HRESULT Height
([in] single CurrentHeight
);
106 [id(0x00000004), propget] HRESULT FitToCurve
(
107 [out, retval] VARIANT_BOOL* Flag
);
108 [id(0x00000004), propput] HRESULT FitToCurve
([in] VARIANT_BOOL Flag
);
109 [id(0x00000005), propget] HRESULT IgnorePressure
(
110 [out, retval] VARIANT_BOOL* Flag
);
111 [id(0x00000005), propput] HRESULT IgnorePressure
(
112 [in] VARIANT_BOOL Flag
);
113 [id(0x00000006), propget] HRESULT AntiAliased
(
114 [out, retval] VARIANT_BOOL* Flag
);
115 [id(0x00000006), propput] HRESULT AntiAliased
([in] VARIANT_BOOL Flag
);
116 [id(0x00000007), propget] HRESULT Transparency
(
117 [out, retval] long* CurrentTransparency
);
118 [id(0x00000007), propput] HRESULT Transparency
(
119 [in] long CurrentTransparency
);
120 [id(0x00000008), propget] HRESULT RasterOperation
(
121 [out, retval] InkRasterOperation
* CurrentRasterOperation
);
122 [id(0x00000008), propput] HRESULT RasterOperation
(
123 [in] InkRasterOperation CurrentRasterOperation
);
124 [id(0x00000009), propget] HRESULT PenTip
(
125 [out, retval] InkPenTip
* CurrentPenTip
);
126 [id(0x00000009), propput] HRESULT PenTip
([in] InkPenTip CurrentPenTip
);
127 [id(0x0000000b), propget] HRESULT ExtendedProperties
(
128 [out, retval] IInkExtendedProperties
** Properties
);
129 [id(0x0000000a)] HRESULT Clone
(
130 [out, retval] IInkDrawingAttributes
** DrawingAttributes
);
133 cpp_quote
("#ifndef _WINGDI_");
134 /* already defined in wingdi.h but needed for WIDL */
135 typedef struct tagXFORM
{
143 cpp_quote
("#endif /* _WINGDI_ */");
147 uuid(615F1D43
-8703-4565-88E2
-8201D2ECD7B7
),
151 interface IInkTransform
: IDispatch
{
152 [id(0x00000001)] HRESULT Reset
();
153 [id(0x00000002)] HRESULT Translate
(
154 [in] single HorizontalComponent
,
155 [in] single VerticalComponent
);
156 [id(0x00000003)] HRESULT Rotate
(
158 [in, optional, defaultvalue(0)] single x
,
159 [in, optional, defaultvalue(0)] single y
);
160 [id(0x00000004)] HRESULT Reflect
(
161 [in] VARIANT_BOOL Horizontally
,
162 [in] VARIANT_BOOL Vertically
);
163 [id(0x00000005)] HRESULT Shear
(
164 [in] single HorizontalComponent
,
165 [in] single VerticalComponent
);
166 [id(0x00000006)] HRESULT ScaleTransform
(
167 [in] single HorizontalMultiplier
,
168 [in] single VerticalMultiplier
);
169 [id(0x0000000d)] HRESULT GetTransform
(
176 [id(0x0000000e)] HRESULT SetTransform
(
183 [id(0x00000007), propget, hidden] HRESULT eM11
(
184 [out, retval] single
* Value
);
185 [id(0x00000007), propput, hidden] HRESULT eM11
([in] single Value
);
186 [id(0x00000008), propget, hidden] HRESULT eM12
(
187 [out, retval] single
* Value
);
188 [id(0x00000008), propput, hidden] HRESULT eM12
([in] single Value
);
189 [id(0x00000009), propget, hidden] HRESULT eM21
(
190 [out, retval] single
* Value
);
191 [id(0x00000009), propput, hidden] HRESULT eM21
([in] single Value
);
192 [id(0x0000000a), propget, hidden] HRESULT eM22
(
193 [out, retval] single
* Value
);
194 [id(0x0000000a), propput, hidden] HRESULT eM22
([in] single Value
);
195 [id(0x0000000b), propget, hidden] HRESULT eDx
(
196 [out, retval] single
* Value
);
197 [id(0x0000000b), propput, hidden] HRESULT eDx
([in] single Value
);
198 [id(0x0000000c), propget, hidden] HRESULT eDy
(
199 [out, retval] single
* Value
);
200 [id(0x0000000c), propput, hidden] HRESULT eDy
([in] single Value
);
201 [id(0x0000000f), propget, hidden] HRESULT Data
(
202 [out, retval] XFORM
* XFORM
);
203 [id(0x0000000f), propput, hidden] HRESULT Data
([in] XFORM XFORM
);
214 } InkBoundingBoxMode
;
218 uuid(9794FF82
-6071-4717-8A8B
-6AC7C64A686E
),
222 interface IInkRectangle
224 [id(1), propget] HRESULT Top
([out, retval] long* Units
);
225 [id(1), propput] HRESULT Top
([in] long Units
);
226 [id(2), propget] HRESULT Left
([out, retval] long* Units
);
227 [id(2), propput] HRESULT Left
([in] long Units
);
228 [id(3), propget] HRESULT Bottom
([out, retval] long* Units
);
229 [id(3), propput] HRESULT Bottom
([in] long Units
);
230 [id(4), propget] HRESULT Right
([out, retval] long* Units
);
231 [id(4), propput] HRESULT Right
([in] long Units
);
232 [id(7), propget] HRESULT Data
([out, retval] RECT
* Rect
);
233 [id(7), propput] HRESULT Data
([in] RECT Rect
);
234 [id(5)] HRESULT GetRectangle
(
239 [id(6)] HRESULT SetRectangle
(
246 interface IInkStrokes
;
257 } TabletPropertyMetricUnit
;
261 uuid(43242FEA
-91D1
-4A72
-963E
-FBB91829CFA2
),
265 interface IInkStrokeDisp
: IDispatch
{
266 [id(0x00000002), propget] HRESULT Id([out, retval] long* Id);
267 [id(0x0000000d), propget] HRESULT BezierPoints
(
268 [out, retval] VARIANT* Points
);
269 [id(0x00000004), propget] HRESULT DrawingAttributes
(
270 [out, retval] IInkDrawingAttributes
** DrawAttrs
);
271 [id(0x00000004), propputref] HRESULT DrawingAttributes
(
272 [in] IInkDrawingAttributes
* DrawAttrs
);
273 [id(0x0000000c), propget] HRESULT Ink
([out, retval] IInkDisp
** Ink
);
274 [id(0x0000000b), propget] HRESULT ExtendedProperties
(
275 [out, retval] IInkExtendedProperties
** Properties
);
276 [id(0x0000000e), propget] HRESULT PolylineCusps
(
277 [out, retval] VARIANT* Cusps
);
278 [id(0x0000000f), propget] HRESULT BezierCusps
(
279 [out, retval] VARIANT* Cusps
);
280 [id(0x00000010), propget] HRESULT SelfIntersections
(
281 [out, retval] VARIANT* Intersections
);
282 [id(0x00000011), propget] HRESULT PacketCount
(
283 [out, retval] long* plCount
);
284 [id(0x00000012), propget] HRESULT PacketSize
(
285 [out, retval] long* plSize
);
286 [id(0x00000013), propget] HRESULT PacketDescription
(
287 [out, retval] VARIANT* PacketDescription
);
288 [id(0x00000014), propget] HRESULT Deleted
(
289 [out, retval] VARIANT_BOOL* Deleted
);
290 [id(0x00000003)] HRESULT GetBoundingBox
(
291 [in, optional, defaultvalue(0)] InkBoundingBoxMode BoundingBoxMode
,
292 [out, retval] IInkRectangle
** Rectangle
);
293 [id(0x00000005)] HRESULT FindIntersections
(
294 [in] IInkStrokes
* Strokes
,
295 [out, retval] VARIANT* Intersections
);
296 [id(0x00000006)] HRESULT GetRectangleIntersections
(
297 [in] IInkRectangle
* Rectangle
,
298 [out, retval] VARIANT* Intersections
);
299 [id(0x00000007)] HRESULT Clip
(
300 [in] IInkRectangle
* Rectangle
);
301 [id(0x00000008)] HRESULT HitTestCircle
(
305 [out, retval] VARIANT_BOOL* Intersects
);
306 [id(0x00000009)] HRESULT NearestPoint
(
309 [in, out, optional, defaultvalue(0)] single
* Distance
,
310 [out, retval] single
* Point
);
311 [id(0x0000000a)] HRESULT Split
(
313 [out, retval] IInkStrokeDisp
** NewStroke
);
314 [id(0x00000015)] HRESULT GetPacketDescriptionPropertyMetrics
(
315 [in] BSTR propertyName
,
318 [out] TabletPropertyMetricUnit
* Units
,
319 [out] single
* Resolution
);
320 [id(0x00000016)] HRESULT GetPoints
(
321 [in, optional, defaultvalue(0)] long Index
,
322 [in, optional, defaultvalue(-1)] long Count
,
323 [out, retval] VARIANT* Points
);
324 [id(0x00000017)] HRESULT SetPoints
(
326 [in, optional, defaultvalue(0)] long Index
,
327 [in, optional, defaultvalue(-1)] long Count
,
328 [out, retval] long* NumberOfPointsSet
);
329 [id(0x00000018)] HRESULT GetPacketData
(
330 [in, optional, defaultvalue(0)] long Index
,
331 [in, optional, defaultvalue(-1)] long Count
,
332 [out, retval] VARIANT* PacketData
);
333 [id(0x00000019)] HRESULT GetPacketValuesByProperty
(
334 [in] BSTR propertyName
,
335 [in, optional, defaultvalue(0)] long Index
,
336 [in, optional, defaultvalue(-1)] long Count
,
337 [out, retval] VARIANT* PacketValues
);
338 [id(0x0000001a)] HRESULT SetPacketValuesByProperty
(
339 [in] BSTR bstrPropertyName
,
340 [in] VARIANT PacketValues
,
341 [in, optional, defaultvalue(0)] long Index
,
342 [in, optional, defaultvalue(-1)] long Count
,
343 [out, retval] long* NumberOfPacketsSet
);
344 [id(0x0000001b)] HRESULT GetFlattenedBezierPoints
(
345 [in, optional, defaultvalue(0)] long FittingError
,
346 [out, retval] VARIANT* FlattenedBezierPoints
);
347 [id(0x0000001d)] HRESULT Transform
(
348 [in] IInkTransform
* Transform
,
349 [in, optional, defaultvalue(0)] VARIANT_BOOL ApplyOnPenWidth
);
350 [id(0x0000001c)] HRESULT ScaleToRectangle
(
351 [in] IInkRectangle
* Rectangle
);
352 [id(0x0000001e)] HRESULT Move
(
353 [in] single HorizontalComponent
,
354 [in] single VerticalComponent
);
355 [id(0x0000001f)] HRESULT Rotate
(
357 [in, optional, defaultvalue(0)] single x
,
358 [in, optional, defaultvalue(0)] single y
);
359 [id(0x00000020)] HRESULT Shear
(
360 [in] single HorizontalMultiplier
,
361 [in] single VerticalMultiplier
);
362 [id(0x00000021)] HRESULT ScaleTransform
(
363 [in] single HorizontalMultiplier
,
364 [in] single VerticalMultiplier
);
369 uuid(E6257A9C
-B511
-4F4C
-A8B0
-A7DBC9506B83
),
373 interface IInkRenderer
: IDispatch
{
374 HRESULT GetViewTransform
([in] IInkTransform
* ViewTransform
);
375 HRESULT SetViewTransform
([in] IInkTransform
* ViewTransform
);
376 HRESULT GetObjectTransform
([in] IInkTransform
* ObjectTransform
);
377 HRESULT SetObjectTransform
([in] IInkTransform
* ObjectTransform
);
380 [in] IInkStrokes
* Strokes
);
383 [in] IInkStrokeDisp
* Stroke
,
384 [in, optional, defaultvalue(0)]
385 IInkDrawingAttributes
* DrawingAttributes
);
386 HRESULT PixelToInkSpace
(
390 HRESULT InkSpaceToPixel
(
391 [in] long hdcDisplay
,
394 HRESULT PixelToInkSpaceFromPoints
(
396 [in, out] VARIANT* Points
);
397 HRESULT InkSpaceToPixelFromPoints
(
399 [in, out] VARIANT* Points
);
401 [in] IInkStrokes
* Strokes
,
402 [out, retval] IInkRectangle
** Rectangle
);
403 HRESULT MeasureStroke
(
404 [in] IInkStrokeDisp
* Stroke
,
405 [in, optional, defaultvalue(0)] IInkDrawingAttributes
* DrawingAttributes
,
406 [out, retval] IInkRectangle
** Rectangle
);
408 [in] single HorizontalComponent
,
409 [in] single VerticalComponent
);
412 [in, optional, defaultvalue(0)] single x
,
413 [in, optional, defaultvalue(0)] single y
);
414 HRESULT ScaleTransform
(
415 [in] single HorizontalMultiplier
,
416 [in] single VerticalMultiplier
,
417 [in, optional, defaultvalue(-1)] VARIANT_BOOL ApplyOnPenWidth
);
447 THWC_CursorMustTouch
= 2,
448 THWC_HardProximity
= 4,
449 THWC_CursorsHavePhysicalIds
= 8
450 } TabletHardwareCapabilities
;
454 uuid(2DE25EAA
-6EF8
-42D5
-AEE9
-185BC81B912D
),
458 interface IInkTablet
: IDispatch
{
459 [propget] HRESULT Name
([out, retval] BSTR* Name
);
460 [propget] HRESULT PlugAndPlayId
([out, retval] BSTR* Id);
461 [propget] HRESULT MaximumInputRectangle
([out, retval] IInkRectangle
** Rectangle
);
462 [propget] HRESULT HardwareCapabilities
(
463 [out, retval] TabletHardwareCapabilities
* Capabilities
);
464 HRESULT IsPacketPropertySupported
(
465 [in] BSTR packetPropertyName
,
466 [out, retval] VARIANT_BOOL* Supported
);
467 HRESULT GetPropertyMetrics
(
468 [in] BSTR propertyName
,
471 [out] TabletPropertyMetricUnit
* Units
,
472 [out] single
* Resolution
);
479 } InkCursorButtonState
;
483 uuid(85EF9417
-1D59
-49B2
-A13C
-702C85430894
),
487 interface IInkCursorButton
: IDispatch
{
488 [propget] HRESULT Name
([out, retval] BSTR* Name
);
489 [propget] HRESULT Id([out, retval] BSTR* Id);
490 [propget] HRESULT State
([out, retval] InkCursorButtonState
* CurrentState
);
495 uuid(3671CC40
-B624
-4671-9FA0
-DB119D952D54
),
499 interface IInkCursorButtons
: IDispatch
{
500 [propget] HRESULT Count
([out, retval] long* Count
);
501 [propget] HRESULT _NewEnum
([out, retval] IUnknown
** _NewEnum
);
503 [in] VARIANT Identifier
,
504 [out, retval] IInkCursorButton
** Button
);
509 uuid(AD30C630
-40C5
-4350-8405-9C71012FC558
),
513 interface IInkCursor
: IDispatch
{
514 [id(0x00000000), propget] HRESULT Name
([out, retval] BSTR* Name
);
515 [id(0x00000001), propget] HRESULT Id([out, retval] long* Id);
516 [id(0x00000004), propget] HRESULT Inverted
(
517 [out, retval] VARIANT_BOOL* Status
);
518 [id(0x00000002), propget] HRESULT DrawingAttributes
(
519 [out, retval] IInkDrawingAttributes
** Attributes
);
520 [id(0x00000002), propputref] HRESULT DrawingAttributes
(
521 [in] IInkDrawingAttributes
* Attributes
);
522 [id(0x00000005), propget] HRESULT Tablet
(
523 [out, retval] IInkTablet
** Tablet
);
524 [id(0x00000003), propget] HRESULT Buttons
(
525 [out, retval] IInkCursorButtons
** Buttons
);
530 uuid(A248C1AC
-C698
-4E06
-9E5C
-D57F77C7E647
),
534 interface IInkCursors
: IDispatch
{
535 [propget] HRESULT Count
([out, retval] long* Count
);
536 [propget] HRESULT _NewEnum
([out, retval] IUnknown
** _NewEnum
);
539 [out, retval] IInkCursor
** Cursor
);
544 IAG_NoGesture
= 61440,
545 IAG_Scratchout
= 61441,
546 IAG_Triangle
= 61442,
550 IAG_Curlicue
= 61456,
551 IAG_DoubleCurlicue
= 61457,
553 IAG_DoubleCircle
= 61473,
554 IAG_SemiCircleLeft
= 61480,
555 IAG_SemiCircleRight
= 61481,
556 IAG_ChevronUp
= 61488,
557 IAG_ChevronDown
= 61489,
558 IAG_ChevronLeft
= 61490,
559 IAG_ChevronRight
= 61491,
561 IAG_ArrowDown
= 61497,
562 IAG_ArrowLeft
= 61498,
563 IAG_ArrowRight
= 61499,
570 IAG_LeftRight
= 61538,
571 IAG_RightLeft
= 61539,
572 IAG_UpLeftLong
= 61540,
573 IAG_UpRightLong
= 61541,
574 IAG_DownLeftLong
= 61542,
575 IAG_DownRightLong
= 61543,
578 IAG_DownLeft
= 61546,
579 IAG_DownRight
= 61547,
581 IAG_LeftDown
= 61549,
583 IAG_RightDown
= 61551,
584 IAG_Exclamation
= 61604,
586 IAG_DoubleTap
= 61681
587 } InkApplicationGesture
;
590 ICEI_DefaultEvents
= -1,
594 ICEI_NewInAirPackets
,
595 ICEI_CursorButtonDown
,
598 ICEI_CursorOutOfRange
,
608 } InkCollectorEventInterest
;
612 uuid(F0F060B5
-8B1F
-4A7C
-89EC
-880692588A4F
),
616 interface IInkCollector
: IDispatch
{
617 [id(0x00000002), propget] HRESULT hWnd
(
618 [out, retval] long* CurrentWindow
);
619 [id(0x00000002), propput] HRESULT hWnd
([in] long CurrentWindow
);
620 [id(0x00000001), propget] HRESULT Enabled
(
621 [out, retval] VARIANT_BOOL* Collecting
);
622 [id(0x00000001), propput] HRESULT Enabled
(
623 [in] VARIANT_BOOL Collecting
);
624 [id(0x00000005), propget] HRESULT DefaultDrawingAttributes
(
625 [out, retval] IInkDrawingAttributes
** CurrentAttributes
);
626 [id(0x00000005), propputref] HRESULT DefaultDrawingAttributes
(
627 [in] IInkDrawingAttributes
* CurrentAttributes
);
628 [id(0x00000006), propget] HRESULT Renderer
(
629 [out, retval] IInkRenderer
** CurrentInkRenderer
);
630 [id(0x00000006), propputref] HRESULT Renderer
(
631 [in] IInkRenderer
* CurrentInkRenderer
);
632 [id(0x00000007), propget] HRESULT Ink
([out, retval] IInkDisp
** Ink
);
633 [id(0x00000007), propputref] HRESULT Ink
([in] IInkDisp
* Ink
);
634 [id(0x00000008), propget] HRESULT AutoRedraw
(
635 [out, retval] VARIANT_BOOL* AutoRedraw
);
636 [id(0x00000008), propput] HRESULT AutoRedraw
(
637 [in] VARIANT_BOOL AutoRedraw
);
638 [id(0x00000009), propget] HRESULT CollectingInk
(
639 [out, retval] VARIANT_BOOL* Collecting
);
640 [id(0x0000001c), propget] HRESULT CollectionMode
(
641 [out, retval] InkCollectionMode
* Mode
);
642 [id(0x0000001c), propput] HRESULT CollectionMode
(
643 [in] InkCollectionMode Mode
);
644 [id(0x0000001f), propget] HRESULT DynamicRendering
(
645 [out, retval] VARIANT_BOOL* Enabled
);
646 [id(0x0000001f), propput] HRESULT DynamicRendering
(
647 [in] VARIANT_BOOL Enabled
);
648 [id(0x00000020), propget] HRESULT DesiredPacketDescription
(
649 [out, retval] VARIANT* PacketGuids
);
650 [id(0x00000020), propput] HRESULT DesiredPacketDescription
(
651 [in] VARIANT PacketGuids
);
652 [id(0x00000023), propget] HRESULT MouseIcon
(
653 [out, retval] IPictureDisp
** MouseIcon
);
654 [id(0x00000023), propput] HRESULT MouseIcon
(
655 [in] IPictureDisp
* MouseIcon
);
656 [id(0x00000023), propputref] HRESULT MouseIcon
(
657 [in] IPictureDisp
* MouseIcon
);
658 [id(0x00000024), propget] HRESULT MousePointer
(
659 [out, retval] InkMousePointer
* MousePointer
);
660 [id(0x00000024), propput] HRESULT MousePointer
(
661 [in] InkMousePointer MousePointer
);
662 [id(0x00000014), propget] HRESULT Cursors
(
663 [out, retval] IInkCursors
** Cursors
);
664 [id(0x00000015), propget] HRESULT MarginX
(
665 [out, retval] long* MarginX
);
666 [id(0x00000015), propput] HRESULT MarginX
([in] long MarginX
);
667 [id(0x00000016), propget] HRESULT MarginY
(
668 [out, retval] long* MarginY
);
669 [id(0x00000016), propput] HRESULT MarginY
([in] long MarginY
);
670 [id(0x00000019), propget] HRESULT Tablet
(
671 [out, retval] IInkTablet
** SingleTablet
);
672 [id(0x00000026), propget] HRESULT SupportHighContrastInk
(
673 [out, retval] VARIANT_BOOL* Support
);
674 [id(0x00000026), propput] HRESULT SupportHighContrastInk
(
675 [in] VARIANT_BOOL Support
);
676 [id(0x0000001d)] HRESULT SetGestureStatus
(
677 [in] InkApplicationGesture Gesture
,
678 [in] VARIANT_BOOL Listen
);
679 [id(0x0000001e)] HRESULT GetGestureStatus
(
680 [in] InkApplicationGesture Gesture
,
681 [out, retval] VARIANT_BOOL* Listening
);
682 [id(0x00000018)] HRESULT GetWindowInputRectangle
(
683 [in, out] IInkRectangle
** WindowInputRectangle
);
684 [id(0x00000017)] HRESULT SetWindowInputRectangle
(
685 [in] IInkRectangle
* WindowInputRectangle
);
686 [id(0x0000001a)] HRESULT SetAllTabletsMode
(
687 [in, optional, defaultvalue(-1)] VARIANT_BOOL UseMouseForInput
);
688 [id(0x0000001b)] HRESULT SetSingleTabletIntegratedMode
(
689 [in] IInkTablet
* Tablet
);
690 [id(0x0000000b)] HRESULT GetEventInterest
(
691 [in] InkCollectorEventInterest EventId
,
692 [out, retval] VARIANT_BOOL* Listen
);
693 [id(0x0000000a)] HRESULT SetEventInterest
(
694 [in] InkCollectorEventInterest EventId
,
695 [in] VARIANT_BOOL Listen
);