Export (0) Print
Expand All

InkCollector.GetWindowInputRectangle method

Applies to: desktop apps only

Gets the window rectangle, in pixels, within which ink is drawn.

Syntax

HRESULT GetWindowInputRectangle(
  [out]  IInkRectangle **WindowInputRectangle
);

Parameters

WindowInputRectangle [out]

The rectangle, of type InkRectangle, on which ink is drawn.

Return value

This method can return one of these values.

Return codeDescription
S_OK

Success.

E_POINTER

A parameter contains an invalid pointer.

REGDB_CLASSNOTREG

The InkRectangle object is not registered.

E_INK_EXCEPTION

An exception occurs inside the method.

 

Remarks

You must first allocate the rectangle before passing it on to this method.

By default, the window input rectangle is set to {0,0,0,0}. This default rectangle maps to the size of the entire window.

If you call GetWindowInputRectangle before you call the SetWindowInputRectangle method, this method gets a rectangle with the default coordinates.

Requirements

Minimum supported client

Windows XP Tablet PC Edition

Minimum supported server

None supported

Header

Msinkaut.h (also requires Msinkaut_i.c)

Library

InkObj.dll

See also

InkCollector Class
SetWindowInputRectangle Method

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2015 Microsoft