Wanted to create an AutoComplete function like "Start ยป Run" functionality for both Urls and Files using SHAutoComplete function,  Unfortunately my knowledge is quite limited and so put the following together based on existing functions and snippets online.  While everything works fine, I'm not sure if I've written the function correctly and was hoping someone with more experience with WinAPI could look it over and let me know if I've missed anything. Thanks in advance. #include &l