Author: janderwald
Date: Thu Dec 11 05:21:02 2008
New Revision: 38010
URL:
http://svn.reactos.org/svn/reactos?rev=38010&view=rev
Log:
- Add IAdapterPowerManagement interface
Modified:
trunk/reactos/include/ddk/portcls.h
Modified: trunk/reactos/include/ddk/portcls.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/portcls.h?rev=…
==============================================================================
--- trunk/reactos/include/ddk/portcls.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/portcls.h [iso-8859-1] Thu Dec 11 05:21:02 2008
@@ -1362,8 +1362,23 @@
IAdapterPowerManagement Interface
*/
+#undef INTERFACE
+#define INTERFACE IAdapterPowerManagement
+
+DEFINE_GUID(IID_IAdapterPowerManagement, 0x793417D0L, 0x35FE, 0x11D1, 0xAD, 0x08, 0x00,
0xA0, 0xC9, 0x0A, 0xB1, 0xB0);
+
DECLARE_INTERFACE_(IAdapterPowerManagement, IUnknown)
{
+ DEFINE_ABSTRACT_UNKNOWN()
+
+ STDMETHOD_(void,PowerChangeState)(THIS_
+ IN POWER_STATE NewState) PURE;
+
+ STDMETHOD_(NTSTATUS,QueryPowerChangeState)(THIS_
+ IN POWER_STATE NewStateQuery) PURE;
+
+ STDMETHOD_(NTSTATUS,QueryDeviceCapabilities)(THIS_
+ IN PDEVICE_CAPABILITIES PowerDeviceCaps) PURE;
};
#define IMP_IAdapterPowerManagement