Shell32AssociationString Enumeration |
ASSOCSTR enumeration - Used by the AssocQueryString() function to define the type of string that is to be returned.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public enum AssociationString
Public Enumeration AssociationString
public enum class AssociationString
Members
| Member name | Value | Description |
---|
| None | 0 | None. |
| Command | 1 | A command string associated with a Shell verb. |
| Executable | 2 |
An executable from a Shell verb command string.
For example, this string is found as the (Default) value for a subkey such as HKEY_CLASSES_ROOT\ApplicationName\shell\Open\command.
If the command uses Rundll.exe, set the RemapRunDll flag in the attributes parameter of IQueryAssociations::GetString to retrieve the target executable.
|
| FriendlyDocName | 3 | The friendly name of a document type. |
| FriendlyAppName | 4 | The friendly name of an executable file. |
| NoOpen | 5 | Ignore the information associated with the open subkey. |
| ShellNewValue | 6 | Look under the ShellNew subkey. |
| DdeCommand | 7 | A template for DDE commands. |
| DdeIfExec | 8 | The DDE command to use to create a process. |
| DdeApplication | 9 | The application name in a DDE broadcast. |
| DdeTopic | 10 | The topic name in a DDE broadcast. |
| InfoTip | 11 |
Corresponds to the InfoTip registry value.
Returns an info tip for an item, or list of properties in the form of an IPropertyDescriptionList from which to create an info tip, such as when hovering the cursor over a file name.
The list of properties can be parsed with PSGetPropertyDescriptionListFromString.
|
| QuickTip | 12 |
Corresponds to the QuickTip registry value. This is the same as InfoTip, except that it always returns a list of property names in the form of an IPropertyDescriptionList.
The difference between this value and InfoTip is that this returns properties that are safe for any scenario that causes slow property retrieval, such as offline or slow networks.
Some of the properties returned from InfoTip might not be appropriate for slow property retrieval scenarios.
The list of properties can be parsed with PSGetPropertyDescriptionListFromString.
|
| TileInfo | 13 |
Corresponds to the TileInfo registry value. Contains a list of properties to be displayed for a particular file type in a Windows Explorer window that is in tile view.
This is the same as InfoTip, but, like QuickTip, it also returns a list of property names in the form of an IPropertyDescriptionList.
The list of properties can be parsed with PSGetPropertyDescriptionListFromString.
|
| ContentType | 14 |
Describes a general type of MIME file association, such as image and bmp,
so that applications can make general assumptions about a specific file type.
|
| DefaultIcon | 15 |
Returns the path to the icon resources to use by default for this association.
Positive numbers indicate an index into the dll's resource table, while negative numbers indicate a resource ID.
An example of the syntax for the resource is "c:\myfolder\myfile.dll,-1".
|
| ShellExtension | 16 |
For an object that has a Shell extension associated with it,
you can use this to retrieve the CLSID of that Shell extension object by passing a string representation
of the IID of the interface you want to retrieve as the pwszExtra parameter of IQueryAssociations::GetString.
For example, if you want to retrieve a handler that implements the IExtractImage interface,
you would specify "{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}", which is the IID of IExtractImage.
|
| DropTarget | 17 |
For a verb invoked through COM and the IDropTarget interface, you can use this flag to retrieve the IDropTarget object's CLSID.
This CLSID is registered in the DropTarget subkey.
The verb is specified in the supplied file parameter in the call to IQueryAssociations::GetString.
|
| DelegateExecute | 18 |
For a verb invoked through COM and the IExecuteCommand interface, you can use this flag to retrieve the IExecuteCommand object's CLSID.
This CLSID is registered in the verb's command subkey as the DelegateExecute entry.
The verb is specified in the supplied file parameter in the call to IQueryAssociations::GetString.
|
| SupportedUriProtocols | 19 | (No description available on MSDN) |
| Max | 20 | The maximum defined Shell32AssociationString value, used for validation purposes. |
See Also