InitializeTransform method
Initializes a transform that has been created by the caller.
Syntax
HRESULT retVal = object.InitializeTransform(pTransform, punkInputs, ulNumInputs, punkOutputs, ulNumOutputs, pInitProps, pErrLog);
Parameters
pTransform [in]
Type: IDXTransformPointer to the transform to initialize.
punkInputs [in]
Type: IUnknownAddress of a pointer to an array of input data object interfaces that will be used by the transform. Specify NULL if the transform does not use any inputs.
ulNumInputs [in]
Type: unsigned longNumber of data objects referred to by the punkInputs parameter.
punkOutputs [in]
Type: IUnknownAddress of a pointer to an array of output data object interfaces that will be used by the transform. 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.
Remarks
This method is used to properly initialize a transform that was created by a user. It uses the IDXTransform::Setup method to define the input and output data objects used in the transform.