Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by esskar (Deacon)
on Jun 29, 2006 at 05:46 UTC ( [id://558221]=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

No, the structure is ENCRYPTION_CERTIFICATE_HASH_LIST and PENCRYPTION_CERTIFICATE_HASH_LIST is already a pointer. So, PENCRYPTION_CERTIFICATE_HASH_LIST* is a mointer of pointer.

Knowing a lot about C and C++ programming (mainly under Windows), your suggestion can not work correctly.
  • Comment on Re^2: Win32::API::Struct: Pointers of Pointers

Replies are listed 'Best First'.
Re^3: Win32::API::Struct: Pointers of Pointers
by runrig (Abbot) on Jun 29, 2006 at 19:03 UTC
    Knowing a lot about C and C++ programming (mainly under Windows), your suggestion can not work correctly.

    I'm just going by the principle that the documentation is not always right, and it doesn't hurt to try something else. The argument description says that it is a pointer to a structure. The "*" in the function syntax suggests it's a pointer to a pointer to a structure. One of those is wrong. If you've implemented this in C or C++ and you know for sure, then nevermind.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-20 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found