Changeset 91513 in vbox for trunk/src/VBox/HostServices/SharedClipboard
- Timestamp:
- Oct 1, 2021 1:41:22 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 147205
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp
r91435 r91513 1980 1980 static DECLCALLBACK(int) svcDisconnect(void *, uint32_t u32ClientID, void *pvClient) 1981 1981 { 1982 RT_NOREF(u32ClientID);1983 1984 1982 LogFunc(("u32ClientID=%RU32\n", u32ClientID)); 1985 1983 1986 1984 PSHCLCLIENT pClient = (PSHCLCLIENT)pvClient; 1987 1985 AssertPtr(pClient); 1986 1987 /* In order to communicate with guest service, HGCM VRDP clipboard extension 1988 * needs to know its connection client ID. Currently, in svcConnect() we always 1989 * cache ID of the first ever connected client. When client disconnects, 1990 * we need to forget its ID and let svcConnect() to pick up the next ID when a new 1991 * connection will be requested by guest service (see #10115). */ 1992 if (g_ExtState.uClientID == u32ClientID) 1993 { 1994 g_ExtState.uClientID = 0; 1995 } 1988 1996 1989 1997 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
Note:
See TracChangeset
for help on using the changeset viewer.