3.2.4.2.43.9 ModuleType (get) (Opnum 20)

The ModuleType (get) method retrieves the Module type of the module definition as defined in the FsrmPipelineModuleType (section 2.2.1.2.12) enumeration and returns S_OK upon successful completion.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x05))] HRESULT ModuleType(
   [out, retval] FsrmPipelineModuleType* moduleType
 );

moduleType: Pointer to a variable that upon completion contains the Module type of the module definition.

Return Values: The method MUST return zero on success, or a nonzero error code on failure.

Return value/code

Description

0x80070057

E_INVALIDARG

The moduleType parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that moduleType is not NULL.

If any validation fails, the server MUST terminate processing and return a nonzero error code.

The server MUST set moduleType to the Module type of the module definitions as specified in section 2.2.1.2.12.