VirtualBox

Changeset 100392 in vbox for trunk/src


Ignore:
Timestamp:
Jul 5, 2023 3:32:45 PM (18 months ago)
Author:
vboxsync
Message:

Shared Clipboard: Updated docs for shClSvcX11TransferOnInitCallback(), added an extra assertion. ​​bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11.cpp

    r100383 r100392  
    453453 * @copydoc SHCLTRANSFERCALLBACKS::pfnOnInitialized
    454454 *
    455  * This starts the HTTP server if not done yet and registers the transfer with it.
    456  *
    457  * @thread Service main thread.
     455 * For G->H: Starts the HTTP server if not done yet and registers the transfer with it.
     456 * For H->G: Called on transfer intialization to populate the transfer's root list.
     457 *
     458 * @thread  Service main thread.
    458459 */
    459460static DECLCALLBACK(void) shClSvcX11TransferOnInitCallback(PSHCLTRANSFERCALLBACKCTX pCbCtx)
     
    484485        case SHCLTRANSFERDIR_TO_REMOTE: /* H->G */
    485486        {
    486             rc = ShClTransferRootListRead(pTransfer); /* Calls shClSvcTransferIfaceHGRootListRead(). */
     487            rc = ShClTransferRootListRead(pTransfer); /* Calls shClSvcX11TransferIfaceHGRootListRead(). */
    487488            break;
    488489        }
    489490
    490491        default:
    491             rc = VERR_NOT_IMPLEMENTED;
     492            AssertFailedStmt(rc = VERR_NOT_SUPPORTED);
    492493            break;
    493494    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette