IFsrmPipelineModuleImplementation::OnLoad method

Initializes the pipeline module.

Syntax

HRESULT OnLoad(
  IFsrmPipelineModuleDefinition *moduleDefinition,
  IFsrmPipelineModuleConnector  **moduleConnector
);

Parameters

moduleDefinition

Type: IFsrmPipelineModuleDefinition*

An IFsrmPipelineModuleDefinition instance representing the pipeline module definition to use.

moduleConnector

Type: IFsrmPipelineModuleConnector**

An IFsrmPipelineModuleConnector instance representing the pipeline module connector to use.

Return Value

Type: HRESULT

The method returns the following return values.

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

   
Windows version None supported Windows Server 2008 R2
Target Platform Windows
Header fsrmpipeline.h
DLL SrmSvc.dll

See Also

IFsrmClassifierModuleImplementation

IFsrmPipelineModuleImplementation

IFsrmStorageModuleImplementation