VirtualBox

Ignore:
Timestamp:
Aug 12, 2010 2:32:51 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64720
Message:

EventQueue/py: Return codes, docs and testcase for waitForEvents and interruptWaitEvent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/EventQueue.cpp

    r31598 r31601  
    4949    } while (0)
    5050
    51 /** Magic LPARAM value for the WM_USER messages that we're posting. */
    52 # if ARCH_BITS == 64
    53 #  define EVENTQUEUE_WIN_LPARAM_MAGIC   UINT64_C(0xf241b8196623bb4c)
    54 # else
    55 #  define EVENTQUEUE_WIN_LPARAM_MAGIC   UINT32_C(0xf241b819)
    56 # endif
     51/** Magic LPARAM value for the WM_USER messages that we're posting.
     52 * @remarks This magic value is duplicated in
     53 *          vboxapi/PlatformMSCOM::interruptWaitEvents(). */
     54#define EVENTQUEUE_WIN_LPARAM_MAGIC   UINT32_C(0xf241b819)
    5755
    5856
     
    565563{
    566564#ifndef VBOX_WITH_XPCOM
    567 
     565    /* Note! The event == NULL case is duplicated in vboxapi/PlatformMSCOM::interruptWaitEvents(). */
    568566    return PostThreadMessage(mThreadId, WM_USER, (WPARAM)event, EVENTQUEUE_WIN_LPARAM_MAGIC);
    569567
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