Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Stores tablet context information.
Members
The ITabletContext interface inherits from the IUnknown interface but does not have additional members.
Remarks
The following code defines the ITabletContext interface.
[
object,
uuid(45AAAF04-9D6F-41AE-8ED1-ECD6D4B2F17F),
pointer_default(unique)
]
interface ITabletContext : IUnknown
{
HRESULT GetId(
[out] TABLET_CONTEXT_ID *pTcid);
HRESULT GetWindow(
[out] HWND *pHwnd);
HRESULT GetSettings(
[out] TABLET_CONTEXT_SETTINGS **ppTCS);
HRESULT GetTablet(
[out] ITablet **ppTablet);
HRESULT Enable(
[in] CONTEXT_ENABLE_TYPE cet);
HRESULT GetOptions(
[out] DWORD *pdwOptions);
HRESULT GetPacketDescription(
[out] PACKET_DESCRIPTION **ppPD);
HRESULT GetStatus(
[out] DWORD *pdwStatus);
HRESULT GetInputRect(
[out] RECT *prcInput);
HRESULT SetInputRect(
[in, unique] RECT *prcInput);
HRESULT SetDevInputRect(
[in, unique] RECT *prcInput);
HRESULT GetDevInputRect(
[out] RECT *prcInput);
HRESULT SetCapture(void);
HRESULT ReleaseCapture(void);
HRESULT SetCursorCapture(
[in] CURSOR_ID cid);
HRESULT ReleaseCursorCapture(
[in] CURSOR_ID cid);
HRESULT GetPackets(
[in] ULONG nBegin,
[in] ULONG nEnd,
[in, out] ULONG *pcPkts,
[in] ULONG cbPkts,
[out, size_is(cbPkts)] BYTE *pbPkts,
[out] CURSOR_ID *pCid
);
HRESULT PeekPackets(
[in] ULONG nBegin,
[in] ULONG nEnd,
[in, out] ULONG *pcPkts,
[in] ULONG cbPkts,
[out, size_is(cbPkts)] BYTE *pbPkts,
[out] CURSOR_ID * pCid
);
HRESULT FlushPackets(
[in] ULONG nBegin,
[in] ULONG nEnd
);
HRESULT FlushQueue(void);
HRESULT GetPacketCount(
[in] ULONG nBegin,
[in] ULONG nEnd,
[out] ULONG *pcPkts
);
HRESULT GetPacketQueueInfo(
[out] ULONG *pnBegin,
[out] ULONG *pnEnd,
[out] ULONG *pcPkts
);
HRESULT ForwardPackets(
[in] ULONG nBegin,
[in] ULONG nEnd
);
HRESULT InjectPackets(
[in] ULONG cPkts,
[in] ULONG cbPkts,
[in, size_is(cbPkts)] BYTE *pbPkts,
[in, size_is(cPkts)] CURSOR_ID *pCids
);
HRESULT ModifyPackets(
[in] ULONG nBegin,
[in] ULONG nEnd,
[in] ULONG cbPkts,
[in, size_is(cbPkts)] BYTE *pbPkts
);
HRESULT ConvertToScreenCoordinates(
[in] ULONG cPkts,
[in] ULONG cbPkts,
[in, size_is(cbPkts)] BYTE *pbPkts,
[out, size_is(cPkts)] POINT *pPointsInScreen
);
};
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
| Minimum supported server |
None supported |
| Library |
|