Activation Context Reference
The activation context functions and structures are used with side-by-side assemblies.
The following table lists the activation context functions.
Function | Description |
---|---|
ActivateActCtx | Activates the specified activation context. |
AddRefActCtx | Increments the reference count of the specified activation context. |
CreateActCtx | Creates an activation context. |
DeactivateActCtx | Deactivates the specified activation context. |
FindActCtxSectionGuid | Returns data contained in the ACTCTX_SECTION_KEYED_DATA structure that corresponds to the specified GUID. |
FindActCtxSectionString | Returns data contained in the ACTCTX_SECTION_KEYED_DATA structure that corresponds to the specified string. |
GetCurrentActCtx | Returns the current activation context. |
IsolationAwareCleanup | Ensures that memory is freed when a manifest is loaded, unloaded, and reloaded. |
QueryActCtxW | Queries the activation context for information about an assembly or file. |
QueryActCtxSettingsW | Specifies the namespace and attribute name of the attribute that is to be queried. |
ReleaseActCtx | Decrements the reference count of the specified activation context. |
ZombifyActCtx | Deactivates the specified activation context, but does not deallocate it. |
The following table lists activation context structures.
Structure | Description |
---|---|
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION | Contains detailed information about the activation context. |
ACTIVATION_CONTEXT_DETAILED_INFORMATION | Contains information about the assembly in the activation context. |
ACTIVATION_CONTEXT_QUERY_INDEX | Contains the assembly within the activation context and the index of the file within the assembly. |
ACTCTX | Contains information that describes a specific activation context. |
ACTCTX_SECTION_KEYED_DATA | Returns the activation context information along with either the GUID or 32-bit integer-tagged activation context section. |
ASSEMBLY_FILE_DETAILED_INFORMATION | Contains information about a file of the assembly in the activation context. |
ACTIVATION_CONTEXT_RUN_LEVEL_INFORMATION | Used by the QueryActCtxW function. Windows Server 2003 and Windows XP: This structure is not available. |
COMPATIBILITY_CONTEXT_ELEMENT | Used by the QueryActCtxW function as part of the ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION structure. Windows Server 2008 and earlier, and Windows Vista and earlier: This structure is not available. It is available beginning with Windows Server 2008 R2 and Windows 7. |
ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION | Used by the QueryActCtxW function. Windows Server 2008 and earlier, and Windows Vista and earlier: This structure is not available. It is available beginning with Windows Server 2008 R2 and Windows 7. |
The following table lists activation context enumerations.
Enumeration | Description |
---|---|
ACTCTX_REQUESTED_RUN_LEVEL | Describes the requested run level of the activation context.Windows Server 2003 and Windows XP: This enumeration is not available. |
ACTCTX_COMPATIBILITY_ELEMENT_TYPE | Describes the compatibility element in the application manifest.Windows Server 2008 and earlier, and Windows Vista and earlier: This enumeration is not available. It is available beginning with Windows Server 2008 R2 and Windows 7. |