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.