IRdcLibrary::OpenGeneratorParameters method (msrdc.h)

The OpenGeneratorParameters method opens an existing serialized parameter block and returns an IRdcGeneratorParameters interface pointer initialized with the data.

Syntax

HRESULT OpenGeneratorParameters(
  [in]  ULONG                   size,
  [in]  const BYTE              *parametersBlob,
  [out] IRdcGeneratorParameters **iGeneratorParameters
);

Parameters

[in] size

The size, in bytes, of the serialized parameter block.

[in] parametersBlob

Pointer to a serialized parameter block.

[out] iGeneratorParameters

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

Return value

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

Remarks

To create a serialized parameter block, use the IRdcGeneratorParameters::Serialize method.

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

IRdcGeneratorParameters

IRdcGeneratorParameters::Serialize

IRdcLibrary