IRdcGenerator::Process method (msrdc.h)

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.


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


[in] endOfInput

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

[out] endOfOutput

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

[in, out] 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.

[in] depth

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

[out] 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.

[out] 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.


Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header msrdc.h
DLL MsRdc.dll

See also