Tlem Posted March 21, 2012 Share Posted March 21, 2012 @Yashied Don't forget that MyProg.exe is detected by some AV to be a TR/Crypt.XPACK.Gen, or a UnclassifiedMalware, or a Trojan.Crypt!IK, and Heuristic.LooksLike.Win32.Suspicious.J. I know that is a false positive, but it was just to said that before some users do it on another way. Best Regards.Thierry Link to comment Share on other sites More sharing options...
Yashied Posted March 24, 2012 Author Share Posted March 24, 2012 The library has been updated, version remains unchanged.ChangesAdded Row Input functions. _WinAPI_DefRawInputProc _WinAPI_EnumRawInputDevices _WinAPI_GetRawInputBuffer _WinAPI_GetRawInputBufferLength _WinAPI_GetRawInputData _WinAPI_GetRawInputDeviceInfo _WinAPI_GetRegisteredRawInputDevices _WinAPI_RegisterRawInputDevicesAdded conversion functions. _WinAPI_ShortToWord _WinAPI_WordToShort Updated documentation. JScript 1 My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
ProgAndy Posted March 24, 2012 Share Posted March 24, 2012 (edited) Here are two functions which should be twice as fast as your versions with DLLStructs: Func _ShortToWord($iValue) Return BitAND(0x0000FFFF, $iValue) ; cut sign bits, relys on AutoIts BitAnd handling all numbers as 32bit EndFunc Func _WordToShort($iValue) If BitAND($iValue, 0x00008000) Then Return BitOR(0xFFFF8000, $iValue) ; extend sign bit, relys on AutoIt always using 32bit in BitOr Return BitAND($iValue, 0x00007FFF) ; cut 32bit to 16 bit. EndFunc Edited March 24, 2012 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
Yashied Posted March 24, 2012 Author Share Posted March 24, 2012 Yes, you're right. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
stormbreaker Posted March 29, 2012 Share Posted March 29, 2012 Thanx a lot for this UDF, Yashied. The additional WINAPI and GDI functions were very helpful to me for my apps, and as said by DXRW4E, I am eager as well to see DISM API functions integrated in the UDF. Good luck ahead. ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1 Link to comment Share on other sites More sharing options...
MilesAhead Posted March 29, 2012 Share Posted March 29, 2012 One suggestion. Since you do frequent updates, could you include the Html Help Toc and Index files in the download if the docs have been updated? It would just save a decompile to add the latest WinAPIEx.chm to the AutoIt.chm master merge. I finally figured out how to add to the master AutoIt.chm merge after downloading the AutoIt doc source for 3.3.8.0. For example, I just did this yesterday with the March 24 Help files. Thanks for the functions. Most times I start to think about doing DllCall I look in your help and find out I don't have to. My Freeware Page Link to comment Share on other sites More sharing options...
Champak Posted March 30, 2012 Share Posted March 30, 2012 Could I get an example of SetDeviceGamaRamp please. Link to comment Share on other sites More sharing options...
funkey Posted March 30, 2012 Share Posted March 30, 2012 @Champak: Look here: Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning. Link to comment Share on other sites More sharing options...
Champak Posted April 3, 2012 Share Posted April 3, 2012 Thanks. Link to comment Share on other sites More sharing options...
Skitty Posted April 25, 2012 Share Posted April 25, 2012 (edited) Hmm, I thought I had already mentioned this but apparently I didn't.Is it just me or is there a bug in _WinAPI_EnumProcessHandles on x64 systems? Or does that function just not work for x64 systems?I've tested it on vista x64 and guinness also reported its possible failure on Windows 7 x64 in a thread where I used the function for a script that unlocks files using code from your udf.Long story short, I didn't see any mention of the function not intended for x64 systems so I'm assuming it's a bug because I also didn't see anything about it on MSDN which leads me te the conclusion that it's something wrong with the function.ZwQuerySystemInformationNtQuerySystemInformation Edited April 25, 2012 by ApudAngelorum Link to comment Share on other sites More sharing options...
Yashied Posted April 25, 2012 Author Share Posted April 25, 2012 Try this. Func _WinAPI_EnumProcessHandles($PID = 0, $iType = 0) If Not $PID Then $PID = @AutoItPID EndIf Local $tSHI, $tHandle, $pData, $Ret, $Length = __Iif(@AutoItX64, 20, 16) Local $Result[101][4] = [[0]] $tSHI = DllStructCreate('ulong;byte[4194304]') $Ret = DllCall('ntdll.dll', 'uint', 'ZwQuerySystemInformation', 'uint', 16, 'ptr', DllStructGetPtr($tSHI), 'ulong', DllStructGetSize($tSHI), 'ulong*', 0) If @error Then Return SetError(1, 0, 0) Else If $Ret[0] Then Return SetError(1, $Ret[0], 0) EndIf EndIf $pData = DllStructGetPtr($tSHI, 2) For $i = 1 To DllStructGetData($tSHI, 1) $tHandle = DllStructCreate('ulong;ubyte;ubyte;ushort;ptr;ulong', $pData + ($i - 1) * $Length) If (DllStructGetData($tHandle, 1) = $PID) And ((Not $iType) Or ($iType = DllStructGetData($tHandle, 2))) Then __Inc($Result) $Result[$Result[0][0]][0] = Ptr(DllStructGetData($tHandle, 4)) $Result[$Result[0][0]][1] = DllStructGetData($tHandle, 2) $Result[$Result[0][0]][2] = DllStructGetData($tHandle, 3) $Result[$Result[0][0]][3] = DllStructGetData($tHandle, 6) EndIf Next If Not $Result[0][0] Then Return SetError(1, 0, 0) EndIf __Inc($Result, -1) Return $Result EndFunc ;==>_WinAPI_EnumProcessHandles My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
Skitty Posted April 26, 2012 Share Posted April 26, 2012 (edited) Just tested on vista x64. It seems to return the appropriate number of handles in the process used for the "for-to" loop but everything in the $tHandle structure is composed of zeros when trying to get info from it. I even checked the structure that returns the PID and it always returns zero for any index. Edited April 26, 2012 by ApudAngelorum Link to comment Share on other sites More sharing options...
Yashied Posted May 17, 2012 Author Share Posted May 17, 2012 This should work for both 32- and 64-bit. Func _WinAPI_EnumProcessHandles($PID = 0, $iType = 0) If Not $PID Then $PID = @AutoItPID EndIf Local $tSHI, $tHandle, $pData, $Ret Local $Result[101][4] = [[0]] $tSHI = DllStructCreate('ulong;byte[4194304]') $Ret = DllCall('ntdll.dll', 'uint', 'ZwQuerySystemInformation', 'uint', 16, 'ptr', DllStructGetPtr($tSHI), 'ulong', DllStructGetSize($tSHI), 'ulong*', 0) If @error Then Return SetError(1, 0, 0) Else If $Ret[0] Then Return SetError(1, $Ret[0], 0) EndIf EndIf $pData = DllStructGetPtr($tSHI, 2) For $i = 1 To DllStructGetData($tSHI, 1) $tHandle = DllStructCreate('align 4;ulong;ubyte;ubyte;ushort;ptr;ulong', $pData + __Iif(@AutoItX64, 4 + ($i - 1) * 24, ($i - 1) * 16)) If (DllStructGetData($tHandle, 1) = $PID) And ((Not $iType) Or ($iType = DllStructGetData($tHandle, 2))) Then __Inc($Result) $Result[$Result[0][0]][0] = Ptr(DllStructGetData($tHandle, 4)) $Result[$Result[0][0]][1] = DllStructGetData($tHandle, 2) $Result[$Result[0][0]][2] = DllStructGetData($tHandle, 3) $Result[$Result[0][0]][3] = DllStructGetData($tHandle, 6) EndIf Next If Not $Result[0][0] Then Return SetError(1, 0, 0) EndIf __Inc($Result, -1) Return $Result EndFunc ;==>_WinAPI_EnumProcessHandles My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
guinness Posted May 17, 2012 Share Posted May 17, 2012 Thanks Yashied. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
Skitty Posted May 26, 2012 Share Posted May 26, 2012 Works great now! thanks. Apparently only another X64 autoit process running this script can receive the results correctly. Link to comment Share on other sites More sharing options...
Yashied Posted June 18, 2012 Author Share Posted June 18, 2012 (edited) The library has been updated.v3.8Added the following functions. _WinAPI_CLSIDFromProgID _WinAPI_CreateBufferFromStruct _WinAPI_CreateFontEx _WinAPI_DwmDefWindowProc _WinAPI_DwmGetColorizationParameters _WinAPI_DwmSetColorizationParameters _WinAPI_EnumFontFamilies _WinAPI_FileIconInit _WinAPI_GetBrushOrg _WinAPI_GetEffectiveClientRect _WinAPI_GetFontName _WinAPI_GetMUILanguage _WinAPI_GetPEType _WinAPI_GetTabbedTextExtent _WinAPI_OpenFileDlg _WinAPI_InitMUILanguage _WinAPI_IsNameInExpression _WinAPI_IsPathShared _WinAPI_MirrorIcon _WinAPI_ProgIDFromCLSID _WinAPI_SaveFileDlg _WinAPI_SearchPath _WinAPI_SetBrushOrg _WinAPI_SetFileValidData _WinAPI_SetSearchPathMode _WinAPI_ShellCreateDirectory _WinAPI_ShellExecuteEx _WinAPI_ShellFlushSFCache _WinAPI_ShellGetIconOverlayIndex _WinAPI_ShellGetImageList _WinAPI_ShellGetKnownFolderIDList _WinAPI_ShellSetKnownFolderPath _WinAPI_ShellUpdateImage _WinAPI_TabbedTextOut _WinAPI_TerminateJobObject _WinAPI_TerminateProcess _WinAPI_UpdateLayeredWindowIndirect _WinAPI_UserHandleGrantAccessAdded examples for the functions above.Added few constants and structures.Added the NTErrors.au3 (optional) that contains the constants of all NTSTATUS error codes.The _WinAPI_EnumDllProc() function now works in Windows XP (required dbghelp.dll version 5.1 or later).The _WinAPI_EnumProcessHandles() functions now works for both 32- and 64-bit systems.The _WinAPI_GetProcAddress() function now works with ordinal values (3.3.6.1).Fixed memory leak in _WinAPI_AssocGetPerceivedType() function.Some internal change of the code.Updated documentation.This is an illative updated of this UDF. Since the library will be integrated into future versions of AutoIt, the project is closed as a separate thread. All future changes will be made through the AutoIt Issue Tracker. Please do not ask here about adding new functions. Only critical bugs (if any) for a quick update.Due to space constraints, I moved all the files on my site. So if the server is unavailable, please let me know about it.Thanks to all who participated in the development of this library.Project closed. Edited July 3, 2012 by Yashied JohnOne 1 My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
guinness Posted June 18, 2012 Share Posted June 18, 2012 As it's part of the AutoIt UDFs it should pass #AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7 _WinAPI_GetEffectiveClientRect - $Ret declared but not used. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
ptrex Posted June 18, 2012 Share Posted June 18, 2012 I get lot's of variables being declared before and _WinAPI_DuplicateHandle() already defined _WinAPI_GetTextMetrics() already defined With the latest version ? Rgds ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Yashied Posted June 18, 2012 Author Share Posted June 18, 2012 (edited) @ptrex WinAPIEx UDF is written for two versions of AutoIt. Please download the appropriate version from the first post: AutoIt 3.3.6.1 => WinAPIEx_3.8_3361.zip or AutoIt 3.3.8.x => WinAPIEx_3.8_3380.zip Edited June 18, 2012 by Yashied My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
ptrex Posted June 18, 2012 Share Posted June 18, 2012 @Yashied Thanks, apparently too eager to get started. ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New 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