VirtualBox

Ignore:
Timestamp:
Jun 13, 2007 4:15:06 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
21969
Message:

Store VM-Console window’s HWND handler feature implemented (secunet request):

This feature is used to store HWND handler of the VM’s main-window into the Named Virtual Shared Memory segment with VBoxQt-{machine-id} name allowing other application get accessing the main VM console window.

Every time VM window is started, the required information (HWND) is stored into the NVSM segment in the form of VBoxQtInfo structure:
struct VBoxQtInfo
{

uint32_t version; /* Version of the structure, currently 1 */
HWND hwndWin; /* HWND Descriptor */

};
Other application can get access to this segment by segment’s name to use the stored information.
The NVSM segment will be erased by the OS only in case of all of the opened handlers to it are closed.

File:
1 edited

Legend:

Unmodified
Added
Removed
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