in reply to Win32::API::Struct - Automatic pointer creation not working ?
LPPOINT is not a structure, it is a type.
POINT is a structure, and LPPOINT is, long pointer to a POINT structure.
You create a POINT structure, fill in the values, and then pass it to an api call that takes an LPPOINT as an argument. Under the covers, Win32::API obtains the address of the memory Perl allocates to hold the POINT structure and passes that to the api.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Win32::API::Struct - Automatic pointer creation not working ?
by fx (Pilgrim) on Jul 05, 2004 at 09:51 UTC |