IRdcGeneratorParameters::Serialize method

The Serialize method serializes the parameter data into a block of memory. This allows the parameters to be stored or transmitted.

Syntax


HRESULT Serialize(
  [in]  ULONG size,
  [out] BYTE  *parametersBlob,
  [out] ULONG *bytesWritten
);

Parameters

size [in]

The size of the buffer pointed to by the parametersBlob parameter.

parametersBlob [out]

The address of a buffer to receive the serialized parameter data.

bytesWritten [out]

Address of a ULONG that on successful completion is filled with the size, in bytes, of the serialized parameter data written to the buffer pointed to by the parametersBlob parameter.

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

IID

IID_IRdcGeneratorParameters is defined as 96236A71-9DBC-11DA-9E3F-0011114AE311

See also

IRdcGeneratorParameters
GetSerializeSize

 

 

Show: