From 9b44e8b37a5401a6bb96d7c504db22ee00c46af2 Mon Sep 17 00:00:00 2001 From: Owen Rudge Date: Tue, 6 Jun 2017 20:55:33 +0100 Subject: [PATCH] include: Add IWSDUdpMessageParameters interface declaration. Signed-off-by: Owen Rudge Signed-off-by: Alexandre Julliard --- include/wsdbase.idl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/include/wsdbase.idl b/include/wsdbase.idl index 099dc874d0d..6391ae8dcd9 100644 --- a/include/wsdbase.idl +++ b/include/wsdbase.idl @@ -99,3 +99,24 @@ interface IWSDMessageParameters : IUnknown HRESULT SetRemoteAddress([in] IWSDAddress* pAddress); HRESULT GetLowerParameters([out] IWSDMessageParameters** ppTxParams); } + +cpp_quote("HRESULT WINAPI WSDCreateUdpMessageParameters(IWSDUdpMessageParameters **ppTxParams);") + +typedef struct _WSDUdpRetransmitParams +{ + ULONG ulSendDelay; + ULONG ulRepeat; + ULONG ulRepeatMinDelay; + ULONG ulRepeatMaxDelay; + ULONG ulRepeatUpperDelay; +} WSDUdpRetransmitParams; + +[ +uuid(9934149f-8f0c-447b-aa0b-73124b0ca7f0), +object +] +interface IWSDUdpMessageParameters : IWSDMessageParameters +{ + HRESULT SetRetransmitParams([in] const WSDUdpRetransmitParams *pParams); + HRESULT GetRetransmitParams([out] WSDUdpRetransmitParams *pParams); +}