http://qs1969.pair.com?node_id=558222


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.