When the SDK Help for an API call says that a parameter should be a "pointer to a structure", is it asking for an address or a handle?
Sorry to be dense on this topic, but the MSDN definition of "pointer to structure" is not clear to me, and when I read the PB Help for STRPTR, VARPTR, and ASCIIZ PTR, I get pretty lost.
I'm trying to use this:
So in PB code, I need:
and, (here's what I'm not sure of):
Then, to make the call (besides setting the other members), I need what?
Can anyone provide a clear explanation of what I need here and why?
Thanks!
Sorry to be dense on this topic, but the MSDN definition of "pointer to structure" is not clear to me, and when I read the PB Help for STRPTR, VARPTR, and ASCIIZ PTR, I get pretty lost.
I'm trying to use this:
BOOL TrackMouseEvent(
LPTRACKMOUSEEVENT lpEventTrack // pointer to a TRACKMOUSEEVENT structure
);
LPTRACKMOUSEEVENT lpEventTrack // pointer to a TRACKMOUSEEVENT structure
);
So in PB code, I need:
Code:
Local tme As trackmouseeventapi
Code:
Local tme_ptr As String Ptr
Code:
TrackMouseEvent(@tme_ptr)
Can anyone provide a clear explanation of what I need here and why?
Thanks!
Comment