IRdcGenerator::Process method

The Process method processes the input data and produces 0 or more output bytes. This method must be called repeatedly until the BOOL pointed to by endOfOutput is set to TRUE.

Syntax

HRESULT Process(
  BOOL                  endOfInput,
  BOOL                  *endOfOutput,
  RdcBufferPointer      *inputBuffer,
  ULONG                 depth,
  RdcBufferPointer * [] outputBuffers,
  RDC_ErrorCode         *rdc_ErrorCode
);

Parameters

endOfInput

Set to TRUE when the input buffer pointed to by the inputBuffer parameter contains the remaining input available.

endOfOutput

Address of a BOOL that is set to TRUE when the processing is complete for all data.

inputBuffer

Address of an RdcBufferPointer structure that contains the input buffer. On successful return, the m_Used member of this structure will be filled with the number of bytes by this call.

depth

The number of levels of signatures to generate. This must match the number of levels specified when the generator was created.

outputBuffers

The address of an array of RdcBufferPointer structures that will receive the output buffers. The m_Used member of these structures will be filled with the number of bytes returned in the buffer.

rdc_ErrorCode

The address of an RDC_ErrorCode enumeration that is filled with an RDC specific error code if the return value from the Process method is E_FAIL. If this value is RDC_Win32ErrorCode, then the return value of the Process method contains the specific error code.

Return Value

This method can return one of these values.

Requirements

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header msrdc.h
DLL MsRdc.dll

See Also

IRdcGenerator

RDC_ErrorCode

RdcBufferPointer