IRdcLibrary::CreateGenerator method (msrdc.h)

The CreateGenerator method creates a signature generator that will generate the specified levels of signatures.

Syntax

HRESULT CreateGenerator(
  [in]  ULONG                        depth,
  [in]  IRdcGeneratorParameters * [] iGeneratorParametersArray,
  [out] IRdcGenerator                **iGenerator
);

Parameters

[in] depth

The number of levels of signatures to generate. The valid range is from MSRDC_MINIMUM_DEPTH to MSRDC_MAXIMUM_DEPTH.

[in] iGeneratorParametersArray

Pointer to an array of initialized IRdcGeneratorParameters interface pointers. Each IRdcGeneratorParameters interface pointer would have been initialized by IRdcLibrary::CreateGeneratorParameters or IRdcGenerator::GetGeneratorParameters.

[out] iGenerator

Pointer to a location that will receive the returned IRdcGenerator interface pointer. Callers must release the interface.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

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

See also

CreateGeneratorParameters

IRdcGeneratorParameters

IRdcLibrary

OpenGeneratorParameters