Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^2: Win32::API::Struct: Pointers of Pointers

by esskar (Deacon)
on Jun 29, 2006 at 05:48 UTC ( #558222=note: print w/replies, xml ) Need Help??

in reply to Re: Win32::API::Struct: Pointers of Pointers
in thread Win32::API::Struct: Pointers of Pointers

Would be an idea. but where do i go from there? Meaning, how do i access pUsers for example?
  • Comment on Re^2: Win32::API::Struct: Pointers of Pointers

Replies are listed 'Best First'.
Re^3: Win32::API::Struct: Pointers of Pointers
by BrowserUk (Patriarch) on Jun 29, 2006 at 07:21 UTC

    Just as you would normally using W::API::Struct. Create the struct per your example and the pass the variable as the parameter when your call the API. The only thing that is checked is the your are passing in a pointer. Once the call returns, you should be able to access the elements of the struct in the usual way.

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://558222]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2022-12-03 09:55 GMT
Find Nodes?
    Voting Booth?

    No recent polls found