Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello, I am try to obtain the stylus device input info via wm_pointer related message, and there are several ones.

I am getting puzzled of the interfaces while trying to get info. they are
GetPointerInfo
and
GetPointerFrameInfo
.

which one shall I use? can someone kindly give me some full explanation about usage?

What I have tried:

I have read the msdn and found that
GetPointerInfo
will get only one pointer info each time the wm message comes, while the
GetPointerFrameInfo
will get a set of them including none-client area. Both of them are mapped to one ID. this is totally different with touch event which always comes several ones with different ID in each.
Posted
Updated 7-Apr-17 1:53am

1 solution

The function GetPointerInfo is for information on one pointer, the second for multiple use in one call.

In the documentation of GetPointerFrameInfo is all explained.

You must call this function in the direct context (like message handler) of the message to get valid data.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900