HostPower.h revision 899cf879d9636e1b7fe8bd6b05926c372dc32ed5
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync * VirtualBox interface to host's power notification service
b0cec57d51e48736a3303366c728c3f025e8e81bvboxsync * Copyright (C) 2006-2007 Sun Microsystems, Inc.
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync * available from http://www.virtualbox.org. This file is free software;
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync * you can redistribute it and/or modify it under the terms of the GNU
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync * General Public License (GPL) as published by the Free Software
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
78a072e1b56619e3230735ae073668311232ec94vboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
78a072e1b56619e3230735ae073668311232ec94vboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
78a072e1b56619e3230735ae073668311232ec94vboxsync * additional information or have any questions.
78a072e1b56619e3230735ae073668311232ec94vboxsynctypedef enum
c3d2b15ad840b405062f4c2c6b127d6fc107c7b2vboxsync HRESULT processEvent(SessionMachine *machine, HostPowerEvent event);
c3d2b15ad840b405062f4c2c6b127d6fc107c7b2vboxsync * The Windows hosted Power Service.
4df0640e3f60845347b8c00d3b04a9fdecfef63cvboxsync static DECLCALLBACK(int) NotificationThread (RTTHREAD ThreadSelf, void *pInstance);
78a072e1b56619e3230735ae073668311232ec94vboxsync static LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
78a072e1b56619e3230735ae073668311232ec94vboxsync# endif /* RT_OS_WINDOWS */
78a072e1b56619e3230735ae073668311232ec94vboxsync#endif /* !____H_HOSTPOWER */