IRdcGeneratorParameters::Serialize method (msrdc.h)
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
[in] size
The size of the buffer pointed to by the parametersBlob parameter.
[out] parametersBlob
The address of a buffer to receive the serialized parameter data.
[out] bytesWritten
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | msrdc.h |
DLL | MsRdc.dll |