Jump to content
Sign in to follow this  
adamgal

another dllcall question

Recommended Posts

alot of functions described in msdn need a buffer to hold the returned values (like functions that return a list), is there any way to use dllcall and get that information for use in the script (usually you are supposed to supply the function with a pointer to a buffer or something)

thanks

Share this post


Link to post
Share on other sites

alot of functions described in msdn need a buffer to hold the returned values (like functions that return a list), is there any way to use dllcall and get that information for use in the script (usually you are supposed to supply the function with a pointer to a buffer or something)

thanks

<{POST_SNAPBACK}>

Values get returned in the Array ....

Maybe you can give an example ?


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

for instance GetKeyboardLayoutList

<{POST_SNAPBACK}>

Don't think that "pointers to array" as return value is supported in DllCall ...

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...