VirtualBox

Changeset 34117 in vbox for trunk


Ignore:
Timestamp:
Nov 16, 2010 3:27:55 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67827
Message:

VBoxTray/IPC: Get rid of ulVer in header (not used), add wParam and lParam instead.

Location:
trunk/src/VBox/Additions/WINNT
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/InstallHelper/VBoxGuestInstallHelper.cpp

    r34098 r34117  
    146146    VBOXTRAYIPCHEADER hdr;
    147147    hdr.ulMsg = VBOXTRAYIPCMSGTYPE_SHOWBALLOONMSG;
    148     hdr.ulVer = 1;
    149148
    150149    VBOXTRAYIPCMSG_SHOWBALLOONMSG msg;
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxIPC.cpp

    r34097 r34117  
    7474    VBOXTRAYIPCHEADER hdr;
    7575    hdr.ulMsg = VBOXTRAYIPCMSGTYPE_QUIT;
    76     hdr.ulVer = 0;
    7776    return VBoxIPCWriteMessage(pCtx, (BYTE*)&hdr, sizeof(hdr));
    7877}
     
    8382 *
    8483 * @return  IPRT status code.
    85  * @return  int
    8684 * @param   pCtx
    87  * @param   uVersion
    88  */
    89 int VBoxIPCMsgShowBalloonMsg(PVBOXIPCCONTEXT pCtx, UINT uVersion)
     85 * @param   wParam
     86 * @param   lParam
     87 */
     88int VBoxIPCMsgShowBalloonMsg(PVBOXIPCCONTEXT pCtx, UINT wParam, UINT lParam)
    9089{
    9190    VBOXTRAYIPCMSG_SHOWBALLOONMSG msg;
     
    207206                {
    208207                    case VBOXTRAYIPCMSGTYPE_SHOWBALLOONMSG:
    209                         rc = VBoxIPCMsgShowBalloonMsg(pCtx, hdr.ulVer);
     208                        rc = VBoxIPCMsgShowBalloonMsg(pCtx, hdr.wParam, hdr.lParam);
    210209                        break;
    211210
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTrayMsg.h

    r34097 r34117  
    3535    /** Message type. */
    3636    ULONG ulMsg;
    37     /** Version of message type. */
    38     ULONG ulVer;
     37    /** User-supplied wParam. */
     38    ULONG wParam;
     39    /** User-supplied lParam. */
     40    ULONG lParam;
    3941} VBOXTRAYIPCHEADER, *PVBOXTRAYIPCHEADER;
    4042
Note: See TracChangeset for help on using the changeset viewer.

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