태블릿 컨텍스트 정보를 저장합니다.
멤버
ITabletContext 인터페이스는 IUnknown 인터페이스에서 상속되지만 추가 멤버는 없습니다.
설명
다음 코드는 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
);
};
요구 사항
| 요구 사항 | 값 |
|---|---|
| 지원되는 최소 클라이언트 |
Windows XP 태블릿 PC 버전 [데스크톱 앱만 해당] |
| 지원되는 최소 서버 |
지원되는 버전 없음 |
| 라이브러리 |
|