Added new API freerdp_abort_event
This commit is contained in:
parent
a612ca4ba2
commit
104157ed6b
@ -510,6 +510,7 @@ settings but before rdp_client_connect() to have it executed after the
|
|||||||
FREERDP_API BOOL freerdp_abort_connect(freerdp* instance));
|
FREERDP_API BOOL freerdp_abort_connect(freerdp* instance));
|
||||||
|
|
||||||
FREERDP_API BOOL freerdp_abort_connect_context(rdpContext* context);
|
FREERDP_API BOOL freerdp_abort_connect_context(rdpContext* context);
|
||||||
|
FREERDP_API HANDLE freerdp_abort_event(rdpContext* context);
|
||||||
|
|
||||||
WINPR_DEPRECATED_VAR("use freerdp_shall_disconnect_context instead",
|
WINPR_DEPRECATED_VAR("use freerdp_shall_disconnect_context instead",
|
||||||
FREERDP_API BOOL freerdp_shall_disconnect(freerdp* instance));
|
FREERDP_API BOOL freerdp_shall_disconnect(freerdp* instance));
|
||||||
|
@ -1134,3 +1134,9 @@ BOOL freerdp_channels_from_mcs(rdpSettings* settings, const rdpContext* context)
|
|||||||
WINPR_ASSERT(context);
|
WINPR_ASSERT(context);
|
||||||
return rdp_channels_from_mcs(settings, context->rdp);
|
return rdp_channels_from_mcs(settings, context->rdp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HANDLE freerdp_abort_event(rdpContext* context)
|
||||||
|
{
|
||||||
|
WINPR_ASSERT(context);
|
||||||
|
return utils_get_abort_event(context->rdp);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user