Share via


WMS_PLUGIN_LOAD_TYPE

banner art

Previous Next

WMS_PLUGIN_LOAD_TYPE

The WMS_PLUGIN_LOAD_TYPE enumeration type identifies whether a plug-in is loaded as an in-process or out-of-process object.

Syntax

  typedef enum WMS_PLUGIN_LOAD_TYPE{
  WMS_PLUGIN_LOAD_TYPE_UNSPECIFIED  = 0,
  WMS_PLUGIN_LOAD_TYPE_IN_PROC  = 1,
  WMS_PLUGIN_LOAD_TYPE_OUT_OF_PROC  = 2
};

Members

WMS_PLUGIN_LOAD_TYPE_UNSPECIFIED

The load type is not specified. Therefore, it can be loaded as either an in-process or out-of-process object.

WMS_PLUGIN_LOAD_TYPE_IN_PROC

The plug-in is loaded as an in-process object.

WMS_PLUGIN_LOAD_TYPE_OUT_OF_PROC

The plug-in is loaded as an out-of-process object.

Remarks

Before a plug-in has been loaded, you can use the UnsupportedLoadType property in the .rgs file to specify the load types that a plug-in does not support. For more information, see WMS_PLUGIN_UNSUPPORTED_LOAD_TYPE. If a plug-in does not specify a load type, the server examines the DefaultPluginLoadType property on the IWMSServer interface which you can set. If a plug-in has already been loaded, you can change the load type by using the LoadType property on the IWMSPlugin interface. For more information, see Determining Plug-in Selection Order. However, if you try to change the load type to one not supported by the plug-in, the server returns NS_E_UNSUPPORTED_LOAD_TYPE.

  • Note   Only authentication, event notification, and authorization plug-ins can be loaded as out-of-process objects.

Requirements

Header: wmsplugin.h.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003 family, Windows Server 2008 family.

See Also (General)

See Also (Visual Basic .NET)

See Also (C#)

See Also (C++)

Previous Next