From 49f360521c8faccd5c4005a104cee0270ac66d01 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 11 Jun 2014 14:41:31 +0200 Subject: [PATCH] OnDataReceived function now uses a reference counted stream as argument. --- include/freerdp/dvc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/freerdp/dvc.h b/include/freerdp/dvc.h index a2350bf..2a9596b 100644 --- a/include/freerdp/dvc.h +++ b/include/freerdp/dvc.h @@ -138,8 +138,7 @@ struct _IWTSVirtualChannelCallback { /* Notifies the user about data that is being received. */ int (*OnDataReceived) (IWTSVirtualChannelCallback* pChannelCallback, - UINT32 cbSize, - BYTE* pBuffer); + wStream *data); /* Notifies the user that the channel has been closed. */ int (*OnClose) (IWTSVirtualChannelCallback* pChannelCallback); }; -- 2.7.4