ISoftKbd::GetSoftKeyboardPosSize method

The ISoftKbd::GetSoftKeyboardPosSize method retrieves the starting position and size of a soft keyboard.

Syntax

HRESULT GetSoftKeyboardPosSize(
  [out] POINT *lpStartPoint,
  [out] WORD  *lpwidth,
  [out] WORD  *lpheight
);

Parameters

lpStartPoint [out]

Pointer to a buffer in which this method retrieves a POINT structure indicating the coordinates of the upper left position of the soft keyboard.

lpwidth [out]

Pointer to a buffer in which this method retrieves the width of the soft keyboard.

lpheight [out]

Pointer to a buffer in which this method retrieves the height of the soft keyboard.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
One of the parameters is invalid.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Redistributable
TSF 1.0 on Windows 2000 Professional
Header
Softkbdc.h
IDL
Softkbd.idl
DLL
Softkbd.dll

See also

ISoftKbd

ISoftKbd::SetSoftKeyboardPosSize