Shell32AssociationAttributes Enumeration |
Provides information for the IQueryAssociations interface methods, used by Shell32.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax [FlagsAttribute]
public enum AssociationAttributes
<FlagsAttribute>
Public Enumeration AssociationAttributes
[FlagsAttribute]
public enum class AssociationAttributes
[<FlagsAttribute>]
type AssociationAttributes
Members
| Member name | Value | Description |
---|
| None | 0 | None. |
| InitNoRemapClsid | 1 | Instructs not to map CLSID values to ProgID values. |
| InitByExeName | 2 | Identifies the value of the supplied file parameter (3rd parameter of function GetFileAssociation()) as an executable file name. |
| InitDefaultToStar | 4 | Specifies that when an IQueryAssociation method does not find the requested value under the root key, it should attempt to retrieve the comparable value from the * subkey. |
| InitDefaultToFolder | 8 | Specifies that when an IQueryAssociation method does not find the requested value under the root key, it should attempt to retrieve the comparable value from the Folder subkey. |
| NoUserSettings | 16 | Specifies that only HKEY_CLASSES_ROOT should be searched, and that HKEY_CURRENT_USER should be ignored. |
| NoTruncate | 32 | Specifies that the return string should not be truncated. Instead, return an error value and the required size for the complete string. |
| Verify | 64 |
Instructs IQueryAssociations methods to verify that data is accurate.
This setting allows IQueryAssociations methods to read data from the user's hard disk for verification.
For example, they can check the friendly name in the registry against the one stored in the .exe file.
|
| RemapRunDll | 128 |
Instructs IQueryAssociations methods to ignore Rundll.exe and return information about its target.
Typically IQueryAssociations methods return information about the first .exe or .dll in a command string.
If a command uses Rundll.exe, setting this flag tells the method to ignore Rundll.exe and return information about its target.
|
| NoFixUps | 256 | Instructs IQueryAssociations methods not to fix errors in the registry, such as the friendly name of a function not matching the one found in the .exe file. |
| IgnoreBaseClass | 512 | Specifies that the BaseClass value should be ignored. |
| InitIgnoreUnknown | 1024 | Specifies that the "Unknown" ProgID should be ignored; instead, fail. |
| InitFixedProgId | 2048 | Specifies that the supplied ProgID should be mapped using the system defaults, rather than the current user defaults. |
| IsProtocol | 4096 | Specifies that the value is a protocol, and should be mapped using the current user defaults. |
See Also