*/
static UINT sf_peer_audin_open_result(audin_server_context* context, UINT32 result)
{
+ /* TODO: Implement */
+ WLog_WARN(TAG, "%s not implemented", __FUNCTION__);
WLog_DBG(TAG, "AUDIN open result %"PRIu32".", result);
return CHANNEL_RC_OK;
}
const AUDIO_FORMAT* format, wStream* buf,
size_t nframes)
{
- WLog_DBG(TAG, "AUDIN receive %"PRIdz" frames.", nframes);
+ /* TODO: Implement */
+ WLog_WARN(TAG, "%s not implemented", __FUNCTION__);
+ WLog_DBG(TAG, "%s receive %"PRIdz" frames.", __FUNCTION__, nframes);
return CHANNEL_RC_OK;
}
void test_peer_context_free(freerdp_peer* client, testPeerContext* context)
{
+ WINPR_UNUSED(client);
+
if (context)
{
if (context->debug_channel_thread)
}
if (!(context->debug_channel_thread = CreateThread(NULL, 0,
- tf_debug_channel_thread_func, (void*) context, 0, NULL)))
+ tf_debug_channel_thread_func, (void*) context, 0, NULL)))
{
WLog_ERR(TAG, "Failed to create debug channel thread");
CloseHandle(context->stopEvent);
BOOL tf_peer_synchronize_event(rdpInput* input, UINT32 flags)
{
+ WINPR_UNUSED(input);
WLog_DBG(TAG, "Client sent a synchronize event (flags:0x%"PRIX32")", flags);
return TRUE;
}
BOOL tf_peer_unicode_keyboard_event(rdpInput* input, UINT16 flags, UINT16 code)
{
+ WINPR_UNUSED(input);
WLog_DBG(TAG, "Client sent a unicode keyboard event (flags:0x%04"PRIX16" code:0x%04"PRIX16")",
flags, code);
return TRUE;
BOOL tf_peer_mouse_event(rdpInput* input, UINT16 flags, UINT16 x, UINT16 y)
{
+ WINPR_UNUSED(flags);
//WLog_DBG(TAG, "Client sent a mouse event (flags:0x%04"PRIX16" pos:%"PRIu16",%"PRIu16")", flags, x, y);
test_peer_draw_icon(input->context->peer, x + 10, y);
return TRUE;
BOOL tf_peer_extended_mouse_event(rdpInput* input, UINT16 flags, UINT16 x,
UINT16 y)
{
+ WINPR_UNUSED(flags);
//WLog_DBG(TAG, "Client sent an extended mouse event (flags:0x%04"PRIX16" pos:%"PRIu16",%"PRIu16")", flags, x, y);
+ test_peer_draw_icon(input->context->peer, x + 10, y);
return TRUE;
}
const RECTANGLE_16* areas)
{
BYTE i;
+ WINPR_UNUSED(context);
WLog_DBG(TAG, "Client requested to refresh:");
for (i = 0; i < count; i++)
static BOOL tf_peer_suppress_output(rdpContext* context, BYTE allow,
const RECTANGLE_16* area)
{
+ WINPR_UNUSED(context);
+
if (allow > 0)
{
WLog_DBG(TAG, "Client restore output (%"PRIu16", %"PRIu16") (%"PRIu16", %"PRIu16").", area->left,
static BOOL test_peer_accepted(freerdp_listener* instance, freerdp_peer* client)
{
HANDLE hThread;
+ WINPR_UNUSED(instance);
if (!(hThread = CreateThread(NULL, 0, test_peer_mainloop, (void*) client, 0, NULL)))
return FALSE;