Gogeta70 Posted April 12, 2009 Share Posted April 12, 2009 Hey everyone. I've been googling around but i can't find anything that answers my question. What i'm looking for is a list of all the functions that reside in the basic windows DLL files (user32.dll for example). How are you supposed to know the functions and what they do? Thanks. Link to comment Share on other sites More sharing options...
BrettF Posted April 12, 2009 Share Posted April 12, 2009 (edited) http://www.nirsoft.net/utils/dll_export_viewer.htmlThen use MSDN for the functions... Edited April 12, 2009 by BrettF Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
monoceres Posted April 12, 2009 Share Posted April 12, 2009 I made an export viewer too It allows you to look up the function on msdn directly from the program too Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
Gogeta70 Posted April 12, 2009 Author Share Posted April 12, 2009 Thanks, it helped a lot! Link to comment Share on other sites More sharing options...
Gogeta70 Posted April 12, 2009 Author Share Posted April 12, 2009 Ok, so i've been playing around with DLL functions a bit now, but i ran into some trouble... The code doesn't work Here's what i've got:$disk = DllCall("shell32.dll", "int", "SHGetDiskFreeSpaceA", "str", "C:\", "uint64", "", "uint64", "", "uint64", "") MsgBox(0, "Disk Space", "Drive: " & $disk[1] & @CRLF & "Total Space: " & $disk[3] & @CRLF & "Free Space: " & $disk[4])Compiler error:>Running:(3.3.0.0):C:\Program Files\AutoIt3\autoit3.exe "C:\Documents and Settings\Administrator\My Documents\autoit\drive.au3" !>06:54:04 AutoIT3.exe ended.rc:-1073741819 +>06:54:05 AutoIt3Wrapper Finished >Exit code: -1073741819 Time: 1.402Dll function info:http://msdn.microsoft.com/en-us/library/bb762176(VS.85).aspx Link to comment Share on other sites More sharing options...
Authenticity Posted April 12, 2009 Share Posted April 12, 2009 (edited) Dim $aRet = DllCall('shell32.dll', 'int', 'SHGetDiskFreeSpace', 'str', 'C:\', 'uint64*', '', 'uint64*', '', 'uint64*', '') If Not @error And $aRet[0] Then For $i = 0 To 4 ConsoleWrite($aRet[$i] & @LF) Next EndIfoÝ÷ Ù±ßÛjëh×6ConsoleWrite(($aRet[$i]/(2^20)) & ' MB' & @LF) ;] Edited April 12, 2009 by Authenticity Link to comment Share on other sites More sharing options...
Gogeta70 Posted April 12, 2009 Author Share Posted April 12, 2009 That worked very well. Thanks, i understand how it works now Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now