static UINT tf_encomsp_participant_created(EncomspClientContext* context,
ENCOMSP_PARTICIPANT_CREATED_PDU* participantCreated)
{
+ WINPR_UNUSED(context);
+ WINPR_UNUSED(participantCreated);
return CHANNEL_RC_OK;
}
const PLAY_SOUND_UPDATE* play_sound)
{
/* TODO: Implement */
+ WINPR_UNUSED(context);
+ WINPR_UNUSED(play_sound);
return TRUE;
}
static BOOL tf_keyboard_set_indicators(rdpContext* context, UINT16 led_flags)
{
/* TODO: Set local keyboard indicator LED status */
+ WINPR_UNUSED(context);
+ WINPR_UNUSED(led_flags);
return TRUE;
}
static int tf_client_start(rdpContext* context)
{
/* TODO: Start client related stuff */
+ WINPR_UNUSED(context);
return 0;
}
static int tf_client_stop(rdpContext* context)
{
/* TODO: Stop client related stuff */
+ WINPR_UNUSED(context);
return 0;
}
wlfDispContext* wlfDisp;
rdpSettings* settings;
+ WINPR_UNUSED(e);
if (!wlf_disp_check_context(context, &wlc, &wlfDisp, &settings))
return;
wlfDispContext* wlfDisp;
rdpSettings* settings;
+ WINPR_UNUSED(e);
if (!wlf_disp_check_context(context, &wlc, &wlfDisp, &settings))
return;
void xf_encomsp_uninit(xfContext* xfc, EncomspClientContext* encomsp)
{
+ WINPR_UNUSED(encomsp);
xfc->encomsp = NULL;
}
const PLAY_SOUND_UPDATE* play_sound)
{
xfContext* xfc = (xfContext*) context;
+ WINPR_UNUSED(play_sound);
XkbBell(xfc->display, None, 100, 0);
return TRUE;
}
static void xf_TerminateEventHandler(void* context, TerminateEventArgs* e)
{
rdpContext* ctx = (rdpContext*)context;
+ WINPR_UNUSED(e);
freerdp_abort_connect(ctx->instance);
}
{
xfContext* xfc = clipboard->xfc;
+ WINPR_UNUSED(xevent);
+
if (xf_cliprdr_is_self_owned(clipboard))
return FALSE;
xfClipboard* clipboard = (xfClipboard*) context->custom;
UINT ret;
+ WINPR_UNUSED(monitorReady);
+
if ((ret = xf_cliprdr_send_client_capabilities(clipboard)) != CHANNEL_RC_OK)
return ret;
{
CLIPRDR_FILE_CONTENTS_RESPONSE response = { 0 };
xfClipboard* clipboard = delegate->custom;
+ WINPR_UNUSED(errorCode);
+
response.msgFlags = CB_RESPONSE_FAIL;
response.streamId = request->streamId;
response.dwFlags = FILECONTENTS_SIZE;
{
CLIPRDR_FILE_CONTENTS_RESPONSE response = { 0 };
xfClipboard* clipboard = delegate->custom;
+ WINPR_UNUSED(errorCode);
+
response.msgFlags = CB_RESPONSE_FAIL;
response.streamId = request->streamId;
response.dwFlags = FILECONTENTS_RANGE;
xfDispContext* xfDisp;
rdpSettings* settings;
+ WINPR_UNUSED(e);
+
if (!xf_disp_check_context(context, &xfc, &xfDisp, &settings))
return;
xfDispContext* xfDisp;
rdpSettings* settings;
+ WINPR_UNUSED(e);
+
if (!xf_disp_check_context(context, &xfc, &xfDisp, &settings))
return;
}
static BOOL xf_event_VisibilityNotify(xfContext* xfc, XEvent* event, BOOL app)
{
+ WINPR_UNUSED(app);
xfc->unobscured = event->xvisibility.state == VisibilityUnobscured;
return TRUE;
}
{
KeySym keysym;
char str[256];
+ WINPR_UNUSED(app);
XLookupString((XKeyEvent*) event, str, sizeof(str), &keysym, NULL);
xf_keyboard_key_press(xfc, event->xkey.keycode, keysym);
return TRUE;
{
KeySym keysym;
char str[256];
+ WINPR_UNUSED(app);
XLookupString((XKeyEvent*) event, str, sizeof(str), &keysym, NULL);
xf_keyboard_key_release(xfc, event->xkey.keycode, keysym);
return TRUE;
}
static BOOL xf_event_MappingNotify(xfContext* xfc, XEvent* event, BOOL app)
{
+ WINPR_UNUSED(app);
if (event->xmapping.request == MappingModifier)
{
if (xfc->modifierMap)
}
static BOOL xf_event_LeaveNotify(xfContext* xfc, XEvent* event, BOOL app)
{
+ WINPR_UNUSED(event);
if (!app)
{
xfc->mouse_active = FALSE;
XPoint shape[5], border[5];
int len;
Display* display = floatbar->xfc->display;
+ WINPR_UNUSED(event);
+
/* create the pixmap that we'll use for shaping the window */
pmap = XCreatePixmap(display, floatbar->handle, floatbar->width, floatbar->height, 1);
gc = XCreateGC(display, floatbar->handle, 0, 0);
{
xfContext* xfc = floatbar->xfc;
+ WINPR_UNUSED(event);
if (xfc->pointer)
{
XDefineCursor(xfc->display, xfc->window->handle, xfc->pointer->cursor);
{
int i;
+ WINPR_UNUSED(xfc);
for (i = 0; i < MAX_CONTACTS; i++)
{
if (contacts[i].id == 0)
{
int i;
+ WINPR_UNUSED(xfc);
for (i = 0; i < MAX_CONTACTS; i++)
{
if (contacts[i].id == event->detail)
int xf_rail_uninit(xfContext* xfc, RailClientContext* rail)
{
+ WINPR_UNUSED(rail);
if (xfc->rail)
{
xfc->rail->custom = NULL;
{
xfXvContext* xv = (xfXvContext*) xfc->xv_context;
+ WINPR_UNUSED(tsmf);
if (xv)
{
if (xv->xv_image_size > 0)
{
xfVideoSurface* xfSurface = (xfVideoSurface*)surface;
+ WINPR_UNUSED(video);
+
if (xfSurface)
XFree(xfSurface->image);
const char* subject, const char* issuer,
const char* fingerprint, BOOL host_mismatch)
{
+ WINPR_UNUSED(common_name);
+ WINPR_UNUSED(host_mismatch);
+
printf("WARNING: This callback is deprecated, migrate to client_cli_verify_certificate_ex\n");
printf("Certificate details:\n");
printf("\tSubject: %s\n", subject);
const char* old_subject, const char* old_issuer,
const char* old_fingerprint)
{
+ WINPR_UNUSED(common_name);
+
printf("WARNING: This callback is deprecated, migrate to client_cli_verify_changed_certificate_ex\n");
printf("!!! Certificate has changed !!!\n");
printf("\n");
}
static int freerdp_client_old_command_line_post_filter(void* context, COMMAND_LINE_ARGUMENT_A* arg)
{
+ WINPR_UNUSED(context);
+ WINPR_UNUSED(arg);
+
return 0;
}
int freerdp_detect_old_command_line_syntax(int argc, char** argv, size_t* count)
FREERDP_ADDIN* pAddin;
FREERDP_ADDIN** ppAddins;
+ WINPR_UNUSED(argc);
+ WINPR_UNUSED(argv);
dwFlags = FREERDP_ADDIN_DYNAMIC;
printf("Enumerate all\n");
int rc = 0;
size_t i;
+ WINPR_UNUSED(argc);
+ WINPR_UNUSED(argv);
for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i ++)
{
int failure = 0;
char* sValue;
rdpFile* file;
rdpFileLine* line;
+ WINPR_UNUSED(argc);
+ WINPR_UNUSED(argv);
/* Unicode */
file = freerdp_client_rdp_file_new();