ApplyManifestContext
Applies the Fusion manifest context on the calling thread, enabling the creation of COM objects that might have been declared in the manifest file for the product.
Syntax
HRESULT
ApplyManifestContext(
);
Return Value
HRESULT
Remarks
This function enables granular control of the process of setting and removing the Fusion activation context from the thread. It can be useful if you want to perform multiple operations with the context rather than using one of the helper functions such as CreateObjectFromProgId or CreateObjectFromCLSID.
See Also
GetPropertyValue
CreateObjectFromProgId
CreateObjectFromCLSID
ApplyIISEnvironmentVariables
ClearIISEnvironmentVariables
ClearManifestContext