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 WMS_PLUGIN_UNSUPPORTED_LOAD_TYPE enumeration type indicates whether a plug-in can be loaded as an in-process or out-of-process object.
typedef enum WMS_PLUGIN_UNSUPPORTED_LOAD_TYPE{
WMS_PLUGIN_UNSUPPORTED_LOAD_TYPE_NONE = 0,
WMS_PLUGIN_UNSUPPORTED_LOAD_TYPE_IN_PROC = 1,
WMS_PLUGIN_UNSUPPORTED_LOAD_TYPE_OUT_OF_PROC = 2
};
Members
WMS_PLUGIN_UNSUPPORTED_LOAD_TYPE_NONE |
The unsupported load type is not defined. |
WMS_PLUGIN_UNSUPPORTED_LOAD_TYPE_IN_PROC |
The plug-in cannot be loaded as an in-process object. |
WMS_PLUGIN_UNSUPPORTED_LOAD_TYPE_OUT_OF_PROC |
The plug-in cannot be loaded as an out-of-process object. |
Remarks
You can specify the load type by using the UnsupportedLoadTypes property in the .rgs file. You must use an integer corresponding to one of the constants above. For example, the following registry script indicates that the plug-in cannot be loaded as an out-of-process object.
HKCR
{
ForceRemove {0B2A7C4B-AEFE-4503-952F-219240E707D7}=s 'Sample'
{
ForceRemove Properties
{
val Name = s 'Sample plug-in name'
val Description = s 'Sample plug-in description'
val UnsupportedLoadTypes = d '2'
}
}
}
You can use the Properties property on the IWMSPlugin interface to retrieve an IWMSNamedValues interface that contains a collection of all of the properties specified for a plug-in.
Requirements
Header: wmsplugin.h.
Library: WMSServerTypeLib.dll.
Platform: Windows Server 2003 family, Windows Server 2008 family.
See Also (General)
WMS_PLUGIN_LOAD_TYPE
See Also (Visual Basic .NET)
IWMSNamedValuesIWMSNamedValues Object (Visual Basic .NET)
IWMSPlugin.PropertiesIWMSPlugin.Properties (Visual Basic .NET)
See Also (C#)
IWMSNamedValuesIWMSNamedValues Object (C#)
IWMSPlugin.PropertiesIWMSPlugin.Properties (C#)
See Also (C++)
IWMSNamedValuesIWMSNamedValues Interface
IWMSPlugin::get_Properties