VirtualBox

Changeset 37687 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jun 29, 2011 3:22:11 PM (13 years ago)
Author:
vboxsync
Message:

Main/Console+Machine: add notification for guest triggered eject, which right now results in updating the VM config
Devices/Storage/ATA+AHCI: trigger the eject notification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmifs.h

    r36573 r37687  
    44
    55/*
    6  * Copyright (C) 2006-2010 Oracle Corporation
     6 * Copyright (C) 2006-2011 Oracle Corporation
    77 *
    88 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    26422642
    26432643
     2644/** Pointer to a Media Notification interface. */
     2645typedef struct PDMIMEDIANOTIFY  *PPDMIMEDIANOTIFY;
     2646/**
     2647 * Interface for exporting Medium eject information (up).  No interface pair.
     2648 */
     2649typedef struct PDMIMEDIANOTIFY
     2650{
     2651    /**
     2652     * Signals that the medium was ejected.
     2653     *
     2654     * @returns VBox status code.
     2655     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
     2656     * @param   iLUN            The unit which had the medium ejected.
     2657     */
     2658    DECLR3CALLBACKMEMBER(int, pfnEjected,(PPDMIMEDIANOTIFY pInterface, unsigned iLUN));
     2659
     2660} PDMIMEDIANOTIFY;
     2661/** PDMIMEDIANOTIFY interface ID. */
     2662#define PDMIMEDIANOTIFY_IID                     "fc22d53e-feb1-4a9c-b9fb-0a990a6ab288"
     2663
     2664
    26442665/** The special status unit number */
    26452666#define PDM_STATUS_LUN      999
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