VirtualBox

Changeset 73945 in vbox for trunk


Ignore:
Timestamp:
Aug 29, 2018 12:16:17 PM (6 years ago)
Author:
vboxsync
Message:

DnD/VBoxTray: Fixed return values of WM_CREATE case in VBoxDnDWnd::WndProc().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnD.cpp

    r69500 r73945  
    55
    66/*
    7  * Copyright (C) 2013-2017 Oracle Corporation
     7 * Copyright (C) 2013-2018 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    396396        {
    397397            int rc = OnCreate();
    398             /** @todo r=bird: MSDN says this returns 0 on success and -1 on failure, not
    399              *        TRUE/FALSE... */
    400398            if (RT_FAILURE(rc))
    401                 return FALSE;
    402             return TRUE;
     399            {
     400                LogRel(("DnD: Failed to create proxy window, rc=%Rrc\n", rc));
     401                return -1;
     402            }
     403            return 0;
    403404        }
    404405
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