Changeset 101597 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Oct 26, 2023 9:09:48 AM (19 months ago)
- svn:sync-xref-src-repo-rev:
- 159681
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r101199 r101597 2719 2719 { 2720 2720 Assert(pBase); 2721 PPDMI ACPIPORT pPort = PDMIBASE_QUERY_INTERFACE(pBase, PDMIACPIPORT);2721 PPDMIEVENTBUTTONPORT pPort = PDMIBASE_QUERY_INTERFACE(pBase, PDMIEVENTBUTTONPORT); 2722 2722 if (pPort) 2723 2723 vrc = pPort->pfnPowerButtonPress(pPort); … … 2761 2761 { 2762 2762 Assert(pBase); 2763 PPDMI ACPIPORT pPort = PDMIBASE_QUERY_INTERFACE(pBase, PDMIACPIPORT);2763 PPDMIEVENTBUTTONPORT pPort = PDMIBASE_QUERY_INTERFACE(pBase, PDMIEVENTBUTTONPORT); 2764 2764 if (pPort) 2765 2765 { 2766 2766 bool fHandled = false; 2767 vrc = pPort->pfn GetPowerButtonHandled(pPort, &fHandled);2767 vrc = pPort->pfnQueryPowerButtonHandled(pPort, &fHandled); 2768 2768 if (RT_SUCCESS(vrc)) 2769 2769 *aHandled = fHandled; … … 2853 2853 { 2854 2854 Assert(pBase); 2855 PPDMI ACPIPORT pPort = PDMIBASE_QUERY_INTERFACE(pBase, PDMIACPIPORT);2855 PPDMIEVENTBUTTONPORT pPort = PDMIBASE_QUERY_INTERFACE(pBase, PDMIEVENTBUTTONPORT); 2856 2856 if (pPort) 2857 2857 vrc = pPort->pfnSleepButtonPress(pPort);
Note:
See TracChangeset
for help on using the changeset viewer.