Module: wine
Branch: master
Commit: dc4d607062134fc32fb7f3e433b60e2c306a8f07
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dc4d607062134fc32fb7f3e43…
Author: Aric Stewart <aric(a)codeweavers.com>
Date: Mon Sep 27 13:29:39 2010 -0500
mciqtz32: Do not allow MCIQTZ_mciUpdate to interrupt a playing video.
---
dlls/mciqtz32/mciqtz.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/mciqtz32/mciqtz.c b/dlls/mciqtz32/mciqtz.c
index fef27e7..aca7bf4 100644
--- a/dlls/mciqtz32/mciqtz.c
+++ b/dlls/mciqtz32/mciqtz.c
@@ -822,6 +822,9 @@ static DWORD MCIQTZ_mciUpdate(UINT wDevID, DWORD dwFlags, LPMCI_DGV_UPDATE_PARMS
LONG visible = OATRUE;
res = MCIERR_INTERNAL;
+ IMediaControl_GetState(wma->pmctrl, -1, &state);
+ if (state == State_Running)
+ return MCIERR_UNSUPPORTED_FUNCTION;
/* If in stopped state, nothing has been drawn to screen
* moving to pause, which is needed for the old dib renderer, will result
* in a single frame drawn, so hide the window here */
Module: wine
Branch: master
Commit: f138a5724d5be3c6e6da88c7dd350c6c1a02ad28
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f138a5724d5be3c6e6da88c7d…
Author: Mike Kaplinskiy <mike.kaplinskiy(a)gmail.com>
Date: Mon Sep 27 22:59:58 2010 -0400
ws2_32: Implement SO_UPDATE_ACCEPT_CONTEXT.
---
dlls/ws2_32/socket.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index a4380aa..b01b623 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -3941,6 +3941,12 @@ int WINAPI WS_setsockopt(SOCKET s, int level, int optname,
TRACE("Ignoring SO_UPDATE_CONNECT_CONTEXT, since our sockets are normal\n");
return 0;
+ /* After a AcceptEx call succeeds, the socket can't be used with half of the
+ * normal winsock functions on windows. We don't have that problem. */
+ case WS_SO_UPDATE_ACCEPT_CONTEXT:
+ TRACE("Ignoring SO_UPDATE_ACCEPT_CONTEXT, since our sockets are normal\n");
+ return 0;
+
/* SO_OPENTYPE does not require a valid socket handle. */
case WS_SO_OPENTYPE:
if (!optlen || optlen < sizeof(int) || !optval)