次の方法で共有


IWMSBasicPlugin Interface

The IWMSBasicPlugin interface contains methods to initialize, disable, enable, and shut down a plug-in, and expose an administration interface. It is recommended that all custom plug-ins implement this interface.

Note

   This interface is available only on Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; and Windows Server 2008.

In addition to the methods inherited from IUnknown, the IWMSBasicPlugin interface exposes the following methods.

Method

Description

DisablePlugin

Called by the server to disable a plug-in.

EnablePlugin

Called by the server to enable a plug-in.

GetCustomAdminInterface

Called by the server to retrieve a pointer to a user interface for the plug-in.

InitializePlugin

Called by the server to initialize a plug-in.

OnHeartbeat

Called by the server at every interval specified in the EnablePlugin method.

ShutdownPlugin

Called by the server to shut down a plug-in.

See Also

Concepts

Custom Plug-in Basics

Custom Plug-in Interfaces (C++)