dvc: Add field for custom interface data

This commit is contained in:
Martin Fleisz 2023-11-14 13:26:05 +01:00 committed by akallabeth
parent 1363462e7e
commit 954f6d69cf
2 changed files with 6 additions and 1 deletions

View File

@ -27,7 +27,8 @@ if (ENABLE_WARNING_VERBOSE)
endforeach() endforeach()
set(C_WARNING_FLAGS set(C_WARNING_FLAGS
/W3 /W4
/wo4324
) )
else() else()
set(C_WARNING_FLAGS set(C_WARNING_FLAGS

View File

@ -133,6 +133,8 @@ extern "C"
UINT(*OnNewChannelConnection) UINT(*OnNewChannelConnection)
(IWTSListenerCallback* pListenerCallback, IWTSVirtualChannel* pChannel, BYTE* Data, (IWTSListenerCallback* pListenerCallback, IWTSVirtualChannel* pChannel, BYTE* Data,
BOOL* pbAccept, IWTSVirtualChannelCallback** ppCallback); BOOL* pbAccept, IWTSVirtualChannelCallback** ppCallback);
void* pInterface;
}; };
struct s_IWTSVirtualChannelCallback struct s_IWTSVirtualChannelCallback
@ -146,6 +148,8 @@ extern "C"
UINT(*OnClose) UINT(*OnClose)
(IWTSVirtualChannelCallback* (IWTSVirtualChannelCallback*
pChannelCallback); /**< Notifies the user that the channel has been closed. */ pChannelCallback); /**< Notifies the user that the channel has been closed. */
void* pInterface;
}; };
/* The DVC Plugin entry points */ /* The DVC Plugin entry points */