Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The values of the ASM_CMP_FLAGS enumeration are used by the IsEqual method to specify which portions of two assembly names to compare.
Syntax
typedef enum __MIDL_IAssemblyName_0004 {
ASM_CMPF_NAME = 0x1,
ASM_CMPF_MAJOR_VERSION = 0x2,
ASM_CMPF_MINOR_VERSION = 0x4,
ASM_CMPF_BUILD_NUMBER = 0x8,
ASM_CMPF_REVISION_NUMBER = 0x10,
ASM_CMPF_PUBLIC_KEY_TOKEN = 0x20,
ASM_CMPF_CULTURE = 0x40,
ASM_CMPF_CUSTOM = 0x80,
ASM_CMPF_ALL,
ASM_CMPF_DEFAULT = 0x100
} ASM_CMP_FLAGS;
Constants
ASM_CMPF_NAMEValue: 0x1 Compare the name portion of the assembly names. |
ASM_CMPF_MAJOR_VERSIONValue: 0x2 Compare the major version portion of the assembly names. |
ASM_CMPF_MINOR_VERSIONValue: 0x4 Compare the minor version portion of the assembly names. |
ASM_CMPF_BUILD_NUMBERValue: 0x8 Compare the build version portion of the assembly names. |
ASM_CMPF_REVISION_NUMBERValue: 0x10 Compare the revision version portion of the assembly names. |
ASM_CMPF_PUBLIC_KEY_TOKENValue: 0x20 Compare the public key token portion of the assembly names. |
ASM_CMPF_CULTUREValue: 0x40 Compare the culture portion of the assembly names. |
ASM_CMPF_CUSTOMValue: 0x80 Compare the custom portion of the assembly names. |
ASM_CMPF_ALLCompare all portions of the assembly names. This is equivalent to setting: <br>ASM_CMPF_NAME | ASM_CMPF_MAJOR_VERSION | ASM_CMPF_MINOR_VERSION | ASM_CMPF_REVISION_NUMBER | ASM_CMPF_BUILD_NUMBER | ASM_CMPF_PUBLIC_KEY_TOKEN | ASM_CMPF_CULTURE | ASM_CMPF_CUSTOM<br> |
ASM_CMPF_DEFAULTValue: 0x100 Ignore the version number to compare assemblies with simple names. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | winsxs.h |