rdpsnd: client: add rdpContext getter
This commit is contained in:
parent
dc11bcc9f0
commit
faa833f97a
@ -1255,6 +1255,14 @@ static VOID VCAPITYPE rdpsnd_virtual_channel_init_event_ex(LPVOID lpUserParam, L
|
||||
"rdpsnd_virtual_channel_init_event reported an error");
|
||||
}
|
||||
|
||||
rdpContext* freerdp_rdpsnd_get_context(rdpsndPlugin* plugin)
|
||||
{
|
||||
if (!plugin)
|
||||
return NULL;
|
||||
|
||||
return plugin->rdpcontext;
|
||||
}
|
||||
|
||||
/* rdpsnd is always built-in */
|
||||
#define VirtualChannelEntryEx rdpsnd_VirtualChannelEntryEx
|
||||
|
||||
|
@ -29,6 +29,8 @@
|
||||
|
||||
#define TAG CHANNELS_TAG("rdpsnd.client")
|
||||
|
||||
FREERDP_API rdpContext* freerdp_rdpsnd_get_context(rdpsndPlugin* rdpsnd);
|
||||
|
||||
#if defined(WITH_DEBUG_SND)
|
||||
#define DEBUG_SND(...) WLog_DBG(TAG, __VA_ARGS__)
|
||||
#else
|
||||
|
@ -69,4 +69,3 @@ typedef FREERDP_RDPSND_DEVICE_ENTRY_POINTS* PFREERDP_RDPSND_DEVICE_ENTRY_POINTS;
|
||||
typedef UINT(*PFREERDP_RDPSND_DEVICE_ENTRY)(PFREERDP_RDPSND_DEVICE_ENTRY_POINTS pEntryPoints);
|
||||
|
||||
#endif /* FREERDP_CHANNEL_RDPSND_CLIENT_RDPSND_H */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user