ITabletManager interface
Provides access to all of the tablets attached to the computer.
Members
The ITabletManager interface inherits from the IUnknown interface. ITabletManager also has these types of members:
Methods
The ITabletManager interface has these methods.
Method | Description |
---|---|
GetTablet | Retrieves the specified tablet object. |
GetTabletCount | Retrieves the number of tablets attached to the system. |
Remarks
Developers should not use this interface.
The following code shows how the ITabletManager interface is implemented.
[
object,
uuid(764DE8AA-1867-47C1-8F6A-122445ABD89A),
pointer_default(unique)
]
interface ITabletManager : IUnknown
{
HRESULT GetDefaultTablet(
[out] ITablet **ppTablet);
HRESULT GetTabletCount(
[out] ULONG *pcTablets);
HRESULT GetTablet(
[in] ULONG iTablet,
[out] ITablet **ppTablet);
HRESULT GetTabletContextById(
[in] TABLET_CONTEXT_ID tcid,
[out] ITabletContext **ppContext);
HRESULT GetCursorById(
[in] CURSOR_ID cid,
[out] ITabletCursor **ppCursor);
};
Call CoCreateInstance with a class ID of CLSID_TabletManagerS, and then call QueryInterface to get a pointer to the ITabletManager Interface. The CLSID_TabletManagerS GUID is defined as follows:
#define CLSID_TabletManagerS uuid(A5B020FD-E04B-4e67-B65A-E7DEED25B2CF)
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server |
None supported |
Library |
|