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


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.