IRdcLibrary::CreateGenerator method

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

Syntax


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

Parameters

depth [in]

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

iGeneratorParametersArray [in]

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

iGenerator [out]

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

MsRdc.h

IDL

MsRdc.idl

Type library

MsRdc.dll

DLL

MsRdc.dll

See also

IRdcLibrary
IRdcGeneratorParameters
CreateGeneratorParameters
OpenGeneratorParameters

 

 

Show: