Sets metadata options for a web core activation.
The data type for the metadata.
The option value.
An HRESULT. Possible values include, but are not limited to, those in the following table.
Indicates that the operation was successful.
Indicates that an instance of the Hosted Web Core is already running in the process.
Indicates that the metadata being set is not supported
Indicates that a configuration error occurred in the configuration file.
If the PFN_WEB_CORE_ACTIVATE function returns an ERROR_INVALID_DATA message, the Event Viewer may contain additional details regarding the cause of the failure.