IInkTablet::get_PlugAndPlayId method (msinkaut.h)

Gets a string representation of the Plug and Play identifier of the IInkTablet object.

This property is read-only.

Syntax

HRESULT get_PlugAndPlayId(
  BSTR *Id
);

Parameters

Id

Return value

None

Remarks

The property value is based upon the HIDD_ATTRIBUTESProductID member. The manufacturer of the tablet device is responsible for adding this string. The property value is empty if the tablet device does not have an identifier.

Note  Accessing this property within certain message handlers can result in the underlying function being re-entered, causing unexpected results. Take care to avoid a reentrant call when handling any of the following messages: WM_ACTIVATE, WM_ACTIVATEAPP, WMNCACTIVATE, WM_PAINT; WM_SYSCOMMAND if wParam is set to SC_HOTKEY or SC_TASKLIST; and WM_SYSKEYDOWN (when processing Alt-Tab or Alt-Esc key combinations). This is an issue with single-threaded apartment model applications.
 

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header msinkaut.h
Library InkObj.dll

See also

IInkStrokeDisp

IInkTablet Interface

InkTablets