argumentum Posted June 15, 2019 Posted June 15, 2019 (edited) From _WinAPI_GetFileInformationByHandle() will return a unique ID for the file. What can be used to get the unique ID for a folder ? Edited June 16, 2019 by argumentum Solved Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Nine Posted June 16, 2019 Posted June 16, 2019 (edited) Same but you need to use this for folder : Local $hFile = _WinAPI_CreateFileEx("C:\Apps\Temp\",$OPEN_EXISTING,$GENERIC_READ,Default,$FILE_ATTRIBUTE_NORMAL+$FILE_FLAG_BACKUP_SEMANTICS) ps. _WinAPI_GetFileInformationByHandle() is not returning a unique ID, but an array of attributes... Edited June 16, 2019 by Nine argumentum 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
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