IFsrmPipelineModuleImplementation::OnLoad method

Initializes the pipeline module.

Syntax


HRESULT OnLoad(
  [in]   IFsrmPipelineModuleDefinition *moduleDefinition,
  [out]  IFsrmPipelineModuleConnector **moduleConnector
);

Parameters

moduleDefinition [in]

Type: IFsrmPipelineModuleDefinition*

An IFsrmPipelineModuleDefinition instance representing the pipeline module definition to use.

moduleConnector [out]

Type: IFsrmPipelineModuleConnector**

An IFsrmPipelineModuleConnector instance representing the pipeline module connector to use.

Return value

Type: HRESULT

The method returns the following return values.

Return code/valueDescription
S_OK
0

Success.

E_INVALIDARG
0x80070057

One or more of the parameters passed in the moduleDefinition parameter is not valid. The client application will receive a FSRM_E_MODULE_INVALID_PARAM error.

Windows Server 2008 R2:  The client application will receive a FSRM_E_UNEXPECTED error.

 

Other values will result in the client application receiving a FSRM_E_UNEXPECTEDFSRM_E_MODULE_SESSION_INITIALIZATION error.

Windows Server 2008 R2:  The client application will receive a FSRM_E_UNEXPECTED error.

 

Remarks

Your OnLoad implementation must create and bind to an instance of an object implementing the IFsrmPipelineModuleConnector interface and return it in the moduleConnector parameter. For more information on how to create and bind this instance, see Initializing and Binding a Pipeline Module.

Examples

See Developing FCI Pipeline Modules.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

DLL

SrmSvc.dll

IID

IID_IFsrmPipelineModuleImplementation is defined as b7907906-2b02-4cb5-84a9-fdf54613d6cd

See also

IFsrmPipelineModuleImplementation
IFsrmClassifierModuleImplementation
IFsrmStorageModuleImplementation

 

 

Show:
© 2014 Microsoft