Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Archivia le informazioni sul contesto del tablet.
Membri
L'interfaccia ITabletContext eredita dall'interfaccia IUnknown , ma non dispone di membri aggiuntivi.
Commenti
Il codice seguente definisce l'interfaccia ITabletContext .
[
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
);
};
Requisiti
| Requisito | Valore |
|---|---|
| Client minimo supportato |
Windows XP Tablet PC Edition [solo app desktop] |
| Server minimo supportato |
Nessuno supportato |
| Libreria |
|