IDeviceModelPlugIn::SetTransformDeviceModelInfo method (wcsplugin.h)

Provides the plug-in with parameters to determine where in the transform sequence the specific plug-in occurs.

Syntax

HRESULT SetTransformDeviceModelInfo(
  [in] UINT               iModelPosition,
  [in] IDeviceModelPlugIn *pIDeviceModelOther
);

Parameters

[in] iModelPosition

The one-based model position of the other device model in the workflow of uiNumModels, as provided in the Initialize function.

[in] pIDeviceModelOther

A pointer to a IDeviceModelPlugIn interface that contains the other device model in the transform sequence.

Return value

If this function succeeds, the return value is S_OK.

If this function fails, the return value is E_FAIL.

Remarks

This function is called by the CreateMultiProfileTransform function, which is responsible for calling AddRef and Release as appropriate. The function enables plug-in device models to exchange information in a proprietary manner by accessing proprietary plug-in interface functions.

This function will fail if the other device model is a baseline device model, because such models are not plugins and thus inter-plugin communication is not supported.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wcsplugin.h

See also