Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Creates and initializes a transform.
Syntax
HRESULT retVal = object.CreateTransform(punkInputs, ulNumInputs, punkOutputs, ulNumOutputs, pInitProps, pErrLog, TransCLSID, TransIID, ppTransform);
Parameters
punkInputs [in]
Type: IUnknownAddress of a pointer to an array of input data object interface pointers that the transform will use. Specify NULL if the transform does not use any inputs.
ulNumInputs [in]
Type: unsigned longNumber of data objects referred to by the punkInputs parameter. Can be zero if the transform does not use any inputs.
punkOutputs [in]
Type: IUnknownAddress of a pointer to an array of output data object interface pointers. Can be NULL.
ulNumOutputs [in]
Type: unsigned longNumber of data objects referred to by the punkOutputs parameter.
pInitProps [in]
Type: IPropertyBagPointer to an optional property bag used to initialize the transform. Can be NULL.
pErrLog [in]
Type: IErrorLogPointer to an optional error log object used during property persistence. Can be NULL.
TransCLSID [in]
Type: REFCLSIDCLSID of the transform to create.
TransIID [in]
Type: REFIIDIID of the transform type to return.
ppTransform [out]
Type: voidAddress of a pointer to the requested interface from the new transform.
Remarks
If the number of inputs and outputs is set to zero, this method will not use IDXTransform::Setup on the transform. This enables you to create a transform and defer setup until a later time.