Compartir a través de


IWMSDataSourcePluginCallback Interface

The IWMSDataSourcePluginCallback interface is implemented by the server and contains methods that enable a data source plug-in to respond to calls that the server makes through the IWMSDataSourcePluginIWMSDataSourcePlugin Interface.

Note

   This interface is available only on Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; and Windows Server 2008. Each method of this interface must be called only once, even if an error code is returned after the initial call.

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

Method

Description

OnCreateDirectory

Called by a data source plug-in to respond when the server calls CreateDataSourceDirectory.

OnDeleteDataContainer

Called by a data source plug-in to respond when the server calls DeleteDataContainer.

OnDeleteDirectory

Called by a data source plug-in to respond when the server calls DeleteDirectory.

OnGetDataContainerVersion

Called by a data source plug-in to respond when the server calls GetDataContainerVersion.

OnGetRootDirectories

Called by a data source plug-in to respond when the server calls GetRootDirectories.

OnOpenDataContainer

Called by a data source plug-in to respond when the server calls OpenDataContainer.

OnOpenDirectory

Called by a data source plug-in to respond when the server calls OpenDirectory.

OnOpenPacketStreamDataContainer

Not implemented in this release.

See Also

Concepts

Custom Plug-in Interfaces (C++)