Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Stuck trying to use Win32::API

by runrig (Abbot)
on Aug 30, 2016 at 22:23 UTC ( #1170834=note: print w/replies, xml ) Need Help??


in reply to Stuck trying to use Win32::API

It's been a while since I've used Win32::API, but from your link on the CredRead function, I believe the argument prototype should be [qw(P I I S)], not [qw(P P)]. then you'll need to pre-allocate the size of the structure returned in the last argument, which you can try to do with Win32::API::Struct (read the Win32::API docs), so that you'll have a convenient object to peek into the structure with.

Replies are listed 'Best First'.
Re^2: Stuck trying to use Win32::API
by newbieperlperson (Acolyte) on Aug 30, 2016 at 22:42 UTC
    Thanks, I think this is currently beyond me, I do not have the domain knowledge to succeed here, is there any other way to do this, perhaps a wrapper?, etc.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2019-04-26 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (129 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!