mirror of https://github.com/FreeRDP/FreeRDP
Added reserved elements to rdpClientContext
This is necessary to provide a stable ABI for future extensions. (this struct is used as extension of rdpContext)
This commit is contained in:
parent
db00082974
commit
66338e4c1f
|
@ -81,14 +81,20 @@ extern "C"
|
|||
struct rdp_client_context
|
||||
{
|
||||
rdpContext context;
|
||||
HANDLE thread;
|
||||
ALIGN64 HANDLE thread; /**< (offset 0) */
|
||||
#if defined(CHANNEL_AINPUT_CLIENT)
|
||||
AInputClientContext* ainput;
|
||||
ALIGN64 AInputClientContext* ainput; /**< (offset 1) */
|
||||
#else
|
||||
UINT64 reserved1;
|
||||
#endif
|
||||
|
||||
#if defined(CHANNEL_RDPEI_CLIENT)
|
||||
RdpeiClientContext* rdpei;
|
||||
ALIGN64 RdpeiClientContext* rdpei; /**< (offset 2) */
|
||||
#else
|
||||
UINT64 reserved2;
|
||||
#endif
|
||||
|
||||
UINT64 reserved[128 - 3]; /**< (offset 3) */
|
||||
};
|
||||
|
||||
/* Common client functions */
|
||||
|
|
Loading…
Reference in New Issue