Share via


IDisassemblerComponent.GetNext Method (COM)

 

Gets the next message from the message set resulting from the disassembler execution.

Syntax

  
        HRESULT IDisassemblerComponent::GetNext(  
        IPipelineContext*  
        pContext,  
IBaseMessage**ppOutMsg);  
  
Function GetNext(  
pContext  
 As IPipelineContext  
) As IBaseMessage  
  

Parameters

pContext
[in] Reference to a IPipelineContext object/interface that contains the current pipeline context.

pContext
IPipelineContext object/interface that contains the current pipeline context.

ppOutMsg
[out,retval] Pointer to hold the reference to the returned IBaseMessage object/interface, which will contain the next message from the message set. Returns NULL if there are no more messages left.

Return Value

This method returns an HRESULT indicating whether it completed successfully. See the Error Values section for more details.

If this method completes successfully, it returns an IBaseMessage containing the disassembled document. Returns NULL if there are no more messages left.

Error Values

This method returns an HRESULT containing one of the values in the following table.

This method indicates errors by setting the Number property of the global Err object to one of the values in the following table.

Value Description
S_OK The method completed successfully.
E_INVALIDARG A parameter that is not valid was detected.

Requirements

Platforms:  Windows

See Also

IDisassemblerComponent Interface (COM)
IDisassemblerComponent Members (COM)