This one is for proxy use. The proxy must know what format is requested by the other side
of the connection, for determining if the message should be passed
or ignore (for example, if we want to allow only text, the proxy must
verify that the requested format received in Format Data Request PDU is
a text format.
Stream_Read_UINT32(s, formatDataRequest.requestedFormatId); /* requestedFormatId (4 bytes) */
-
+ context->lastRequestedFormatId = formatDataRequest.requestedFormatId;
IFCALLRET(context->ServerFormatDataRequest, error, context, &formatDataRequest);
if (error)
WLog_ERR(TAG, "ServerFormatDataRequest failed with error %"PRIu32"!", error);
Stream_Read_UINT32(s,
formatDataRequest.requestedFormatId); /* requestedFormatId (4 bytes) */
+ context->lastRequestedFormatId = formatDataRequest.requestedFormatId;
IFCALLRET(context->ClientFormatDataRequest, error, context, &formatDataRequest);
if (error)
pcCliprdrClientFileContentsResponse ClientFileContentsResponse;
pcCliprdrServerFileContentsResponse ServerFileContentsResponse;
+ UINT32 lastRequestedFormatId;
rdpContext* rdpcontext;
};
psCliprdrServerFileContentsResponse ServerFileContentsResponse;
rdpContext* rdpcontext;
+ UINT32 lastRequestedFormatId;
};
#ifdef __cplusplus