Click or drag to resize

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
Members
  Member nameValueDescription
None0None.
InitNoRemapClsid1Instructs not to map CLSID values to ProgID values.
InitByExeName2Identifies the value of the supplied file parameter (3rd parameter of function GetFileAssociation()) as an executable file name.
InitDefaultToStar4Specifies 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.
InitDefaultToFolder8Specifies 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.
NoUserSettings16Specifies that only HKEY_CLASSES_ROOT should be searched, and that HKEY_CURRENT_USER should be ignored.
NoTruncate32Specifies that the return string should not be truncated. Instead, return an error value and the required size for the complete string.
Verify64 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.
RemapRunDll128 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.
NoFixUps256Instructs 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.
IgnoreBaseClass512Specifies that the BaseClass value should be ignored.
InitIgnoreUnknown1024Specifies that the "Unknown" ProgID should be ignored; instead, fail.
InitFixedProgId2048Specifies that the supplied ProgID should be mapped using the system defaults, rather than the current user defaults.
IsProtocol4096Specifies that the value is a protocol, and should be mapped using the current user defaults.
See Also