[ofw] [PATCH] Support for ND over WV (incomplete)

Fab Tillier ftillier at windows.microsoft.com
Tue May 12 12:03:13 PDT 2009


Here's the prototype for the DisconnectAndFlush method that would be needed for an ND provider over WV.

I don't have any code to implement that, but for now it could be implemented as returning an error status.  This mainly gets the WV interfaces in place for the 2.1 release.

Hopefully not too many things pop up when we get to the actual implementation.

I changed the interface GUID since the interface changed.

Thoughts/comments?

Signed-off-by: Fab Tillier <ftillier at microsoft.com>

Index: inc/user/rdma/winverbs.h
===================================================================
--- inc/user/rdma/winverbs.h    (revision 2176)
+++ inc/user/rdma/winverbs.h    (working copy)
@@ -1156,9 +1156,9 @@

 #undef INTERFACE
 #define INTERFACE IWVConnectEndpoint
-// {ac670274-1934-4759-a39c-eee01a8130b3}
-DEFINE_GUID(IID_IWVConnectEndpoint, 0xac670274, 0x1934, 0x4759,
-                       0xa3, 0x9c, 0xee, 0xe0, 0x1a, 0x81, 0x30, 0xb3);
+// {5B034CDF-E00B-42ba-9979-13E1458BAC75}
+DEFINE_GUID(IID_IWVConnectEndpoint, 0x5b034cdf, 0xe00b, 0x42ba,
+                       0x99, 0x79, 0x13, 0xe1, 0x45, 0x8b, 0xac, 0x75);

 DECLARE_INTERFACE_(IWVConnectEndpoint, IWVEndpoint)
 {
@@ -1244,6 +1244,12 @@
                __in_opt OVERLAPPED* pOverlapped
                ) PURE;

+       STDMETHOD(DisconnectAndFlush)(
+               THIS_
+               __in IWVConnectQueuePair* pQp,
+               __in_opt OVERLAPPED* pOverlapped
+               ) PURE;
+
        STDMETHOD(Query)(
                THIS_
                __out WV_CONNECT_ATTRIBUTES* pAttributes



More information about the ofw mailing list