namespace Vanara.PInvoke { public static partial class Shell32 { public enum BHID { /// Restricts usage to BindToObject. [Associate("{3981e224-f559-11d3-8e3a-00c04f6837d5}")] BHID_SFObject = 1, /// Restricts usage to GetUIObjectOf. [Associate("{3981e225-f559-11d3-8e3a-00c04f6837d5}")] BHID_SFUIObject, /// Restricts usage to CreateViewObject. [Associate("{3981e226-f559-11d3-8e3a-00c04f6837d5}")] BHID_SFViewObject, /// Attempts to retrieve the storage RIID, but defaults to Shell implementation on failure. [Associate("{3981e227-f559-11d3-8e3a-00c04f6837d5}")] BHID_Storage, /// Restricts usage to IStream. [Associate("{1CEBB3AB-7C10-499a-A417-92CA16C4CB83}")] BHID_Stream, /// Introduced in Windows 8: Gets an IRandomAccessStream object for the item. [Associate("{f16fc93b-77ae-4cfe-bda7-a866eea6878d}")] BHID_RandomAccessStream, /// /// CLSID_ShellItem is initialized with the target of this item (can only be SFGAO_LINK). See GetAttributesOf for a description /// of SFGAO_LINK. /// [Associate("{3981e228-f559-11d3-8e3a-00c04f6837d5}")] BHID_LinkTargetItem, /// If the item is a folder, gets an IEnumShellItems object with which to enumerate the storage contents. [Associate("{4621A4E3-F0D6-4773-8A9C-46E77B174840}")] BHID_StorageEnum, /// Introduced in Windows Vista: If the item is a folder, gets an ITransferSource or ITransferDestination object. [Associate("{5D080304-FE2C-48fc-84CE-CF620B0F3C53}")] BHID_Transfer, /// Introduced in Windows Vista: Restricts usage to IPropertyStore or IPropertyStoreFactory. [Associate("{0384e1a4-1523-439c-a4c8-ab911052f586}")] BHID_PropertyStore, /// Introduced in Windows Vista: Restricts usage to IExtractImage or IThumbnailProvider. [Associate("{7b2e650a-8e20-4f4a-b09e-6597afc72fb0}")] BHID_ThumbnailHandler, /// /// Introduced in Windows Vista: If the item is a folder, gets an IEnumShellItems object that enumerates all items in the folder. /// This includes folders, nonfolders, and hidden items. /// [Associate("{94f60519-2850-4924-aa5a-d15e84868039}")] BHID_EnumItems, /// Introduced in Windows Vista: Gets an IDataObject object for use with an item or an array of items. [Associate("{B8C0BD9F-ED24-455c-83E6-D5390C4FE8C4}")] BHID_DataObject, /// Introduced in Windows Vista: Gets an IQueryAssociations object for use with an item or an array of items. [Associate("{bea9ef17-82f1-4f60-9284-4f8db75c3be9}")] BHID_AssociationArray, /// Introduced in Windows Vista: Restricts usage to IFilter. [Associate("{38d08778-f557-4690-9ebf-ba54706ad8f7}")] BHID_Filter, /// /// Introduced in Windows 7: Gets an IEnumAssocHandlers object used to enumerate the recommended association handlers for the /// given item. /// [Associate("{b8ab0b9c-c2ec-4f7a-918d-314900e6280a}")] BHID_EnumAssocHandlers, /// Introduced in Windows 8.1: Gets an object used to provide placeholder file functionality. [Associate("{8677DCEB-AAE0-4005-8D3D-547FA852F825}")] BHID_FilePlaceholder, } /// The FOLDERTYPEID values represent a view template applied to a folder, usually based on its intended use and contents. [PInvokeData("Shlguid.h")] public enum FOLDERTYPEID { /// Introduced in Windows 8. The folder contains the image files used with the current user's account. [Associate("{db2a5d8f-06e6-4007-aba6-af877d526ea6}")] FOLDERTYPEID_AccountPictures, /// /// Introduced in Windows 7. A folder that contains communication-related files such as emails, calendar information, and contact information. /// [Associate("{91475fe5-586b-4eba-8d75-d17434b8cdf6}")] FOLDERTYPEID_Communications, /// The folder is a compressed archive, such as a compressed file with a .zip file name extension. [Associate("{80213e82-bcfd-4c4f-8817-bb27601267a9}")] FOLDERTYPEID_CompressedFolder, /// A folder that contains email contact information. [Associate("{de2b70ec-9bf7-4a93-bd3d-243f7881d492}")] FOLDERTYPEID_Contacts, /// The Control Panel in category view. This is a virtual folder. [Associate("A folder that contains email contact information.")] FOLDERTYPEID_ControlPanelCategory, /// The Control Panel in classic view. This is a virtual folder. [Associate("{0c3794f3-b545-43aa-a329-c37430c58d2a}")] FOLDERTYPEID_ControlPanelClassic, /// The folder contains document files. These can be of mixed format—.doc, .txt, and others. [Associate("{7d49d726-3c21-4f05-99aa-fdc2c9474656}")] FOLDERTYPEID_Documents, /// The folder is the Games folder found in the Start menu. [Associate("{b689b0d0-76d3-4cbb-87f7-585d0e0ce070}")] FOLDERTYPEID_Games, /// Introduced in Windows 7. The folder does not fall under one of the other FOLDERTYPEID categories. [Associate("{5c4f28b5-f869-4e84-8e60-f11db97c5cc7}")] FOLDERTYPEID_Generic, /// Introduced in Windows 7. The folder is a library, but of no specified type. [Associate("{5f4eab9a-6833-4f61-899d-31cf46979d49}")] FOLDERTYPEID_GenericLibrary, /// Introduced in Windows 7. The folder contains search results, but they are of mixed or no specific type. [Associate("{7fde1a1e-8b31-49a5-93b8-6be14cfa4943}")] FOLDERTYPEID_GenericSearchResults, /// /// The folder is invalid. There are several things that can cause this judgement: hard disk errors, file system errors, and /// compression errors among them. /// [Associate("{57807898-8c4f-4462-bb63-71042380b109}")] FOLDERTYPEID_Invalid, /// Introduced in Windows 7. The folder contains audio files, such as .mp3 and .wma files. [Associate("{94d6ddcc-4a68-4175-a374-bd584a510b78}")] FOLDERTYPEID_Music, /// The Network Explorer folder. [Associate("{25CC242B-9A7C-4f51-80E0-7A2928FEBE42}")] FOLDERTYPEID_NetworkExplorer, /// Introduced in Windows 7. The folder contains federated search OpenSearch results. [Associate("{8faf9629-1980-46ff-8023-9dceab9c3ee3}")] FOLDERTYPEID_OpenSearch, /// Introduced in Windows 7. [Associate("{B337FD00-9DD5-4635-A6D4-DA33FD102B7A}")] FOLDERTYPEID_OtherUsers, /// Image files, such as .jpg, .tif, or .png files. [Associate("{b3690e58-e961-423b-b687-386ebfd83239}")] FOLDERTYPEID_Pictures, /// Printers that have been added to the system. This is a virtual folder. [Associate("{2c7bbec6-c844-4a0a-91fa-cef6f59cfda1}")] FOLDERTYPEID_Printers, /// Introduced in Windows 7. A homegroup user's libraries. [Associate("{7F2F5B96-FF74-41da-AFD8-1C78A5F3AEA2}")] FOLDERTYPEID_PublishedItems, /// Introduced in Windows 7. The folder contains recorded television broadcasts. [Associate("{5557a28f-5da6-4f83-8809-c2c98a11a6fa}")] FOLDERTYPEID_RecordedTV, /// The Recycle Bin. This is a virtual folder. [Associate("{d6d9e004-cd87-442b-9d57-5e0aeb4f6f72}")] FOLDERTYPEID_RecycleBin, /// Introduced in Windows 7. The folder contains saved game states. [Associate("{d0363307-28cb-4106-9f23-2956e3e5e0e7}")] FOLDERTYPEID_SavedGames, /// Introduced in Windows 7. [Associate("{982725ee-6f47-479e-b447-812bfa7d2e8f}")] FOLDERTYPEID_SearchConnector, /// Introduced in Windows 7. [Associate("{834d8a44-0974-4ed6-866e-f203d80b3810}")] FOLDERTYPEID_SearchHome, /// Introduced in Windows 7. A user's Searches folder, normally found at C:\Users\username\Searches. [Associate("{0b0ba2e3-405f-415e-a6ee-cad625207853}")] FOLDERTYPEID_Searches, /// The software explorer window used by the Add or Remove Programs control panel icon. [Associate("{d674391b-52d9-4e07-834e-67c98610f39d}")] FOLDERTYPEID_SoftwareExplorer, /// Introduced in Windows 7. A user's Start Menu folder, normally found at C:\Users\username\Start Menu. [Associate("{ef87b4cb-f2ce-4785-8658-4ca6c63e38c6}")] FOLDERTYPEID_StartMenu, /// /// Introduced in Windows 8.1. The folder is a MSFT_StorageProvider folder and contains document files. These can be of mixed /// format—.doc, .txt, and others. /// [Associate("{DD61BD66-70E8-48dd-9655-65C5E1AAC2D1}")] FOLDERTYPEID_StorageProviderDocuments, /// /// Introduced in Windows 8.1. The folder is a MSFT_StorageProvider folder and does not fall under one of the other FOLDERTYPEID categories. /// [Associate("{4F01EBC5-2385-41f2-A28E-2C5C91FB56E0}")] FOLDERTYPEID_StorageProviderGeneric, /// /// Introduced in Windows 8.1. The folder is a MSFT_StorageProvider folder and contains audio files, such as .mp3 and .wma files. /// [Associate("{672ECD7E-AF04-4399-875C-0290845B6247}")] FOLDERTYPEID_StorageProviderMusic, /// /// Introduced in Windows 8.1. The folder is a MSFT_StorageProvider folder and contains image files, such as .jpg, .tif, or .png files. /// [Associate("{71D642A9-F2B1-42cd-AD92-EB9300C7CC0A}")] FOLDERTYPEID_StorageProviderPictures, /// /// Introduced in Windows 8.1. The folder is a MSFT_StorageProvider folder and contains video files. These can be of mixed /// format—.wmv, .mov, and others. /// [Associate("{51294DA1-D7B1-485b-9E9A-17CFFE33E187}")] FOLDERTYPEID_StorageProviderVideos, /// The folder is the FOLDERID_UsersFiles folder. [Associate("{CD0FC69B-71E2-46e5-9690-5BCD9F57AAB3}")] FOLDERTYPEID_UserFiles, /// Introduced in Windows 7. The view shown when the user clicks the Windows Explorer button on the taskbar. [Associate("{5fa96407-7e77-483c-ac93-691d05850de8}")] FOLDERTYPEID_UsersLibraries, /// Introduced in Windows 7. The folder contains video files. These can be of mixed format—.wmv, .mov, and others. [Associate("{C4D98F09-6124-4fe0-9942-826416082DA9}")] FOLDERTYPEID_Videos, } } }