Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

C# does Shell, Part 4

, 26 Mar 2003 Ms-PL
This article is about the AutoComplete features enabled by windows and how to use them with C#. AutoComplete is the ability to expand strings written in an edit box. The article will develop a class for using this functionality in you applications.
using System;
using System.Runtime.InteropServices;

namespace ShellLib
{
	public class ShellGUIDs
	{
		public static Guid IID_IMalloc = 
			new Guid("{00000002-0000-0000-C000-000000000046}");
		public static Guid IID_IShellFolder = 
			new Guid("{000214E6-0000-0000-C000-000000000046}");
		public static Guid IID_IFolderFilterSite = 
			new Guid("{C0A651F5-B48B-11d2-B5ED-006097C686F6}");
		public static Guid IID_IFolderFilter = 
			new Guid("{9CC22886-DC8E-11d2-B1D0-00C04F8EEB3E}");

		// AutoComplete Guids
		public static Guid IID_IAutoCompList = 
			new Guid("{00BB2760-6A77-11D0-A535-00C04FD7D062}");
		
		public static Guid IID_IObjMgr =
			new Guid("{00BB2761-6A77-11D0-A535-00C04FD7D062}");

		public static Guid IID_IACList =
			new Guid("{77A130B0-94FD-11D0-A544-00C04FD7D062}");

		public static Guid IID_IACList2 =
			new Guid("{470141A0-5186-11D2-BBB6-0060977B464C}");

		public static Guid IID_ICurrentWorkingDirectory =
			new Guid("{91956D21-9276-11D1-921A-006097DF5BD4}"); 
		
		public static Guid CLSID_AutoComplete =
			new Guid("{00BB2763-6A77-11D0-A535-00C04FD7D062}");

		public static Guid CLSID_ACLHistory =
			new Guid("{00BB2764-6A77-11D0-A535-00C04FD7D062}");

		public static Guid CLSID_ACListISF =
			new Guid("{03C036F1-A186-11D0-824A-00AA005B4383}");

		public static Guid CLSID_ACLMRU =
			new Guid("{6756A641-dE71-11D0-831B-00AA005B4383}"); 

		public static Guid CLSID_ACLMulti =
			new Guid("{00BB2765-6A77-11D0-A535-00C04FD7D062}");
		
		public static Guid CLSID_ACLCustomMRU =
			new Guid("{6935DB93-21E8-4CCC-BEB9-9fE3C77A297A}");

	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

Share

About the Author

Arik Poznanski
Software Developer (Senior) Verint
Israel Israel
Arik Poznanski is a senior software developer at Verint. He completed two B.Sc. degrees in Mathematics & Computer Science, summa cum laude, from the Technion in Israel.
 
Arik has extensive knowledge and experience in many Microsoft technologies, including .NET with C#, WPF, Silverlight, WinForms, Interop, COM/ATL programming, C++ Win32 programming and reverse engineering (assembly, IL).
Follow on   Twitter   Google+

| Advertise | Privacy | Mobile
Web02 | 2.8.141015.1 | Last Updated 27 Mar 2003
Article Copyright 2003 by Arik Poznanski
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid