mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
- Add IAdapterPowerManagement interface
svn path=/trunk/; revision=38010
This commit is contained in:
@@ -1362,8 +1362,23 @@ typedef IMiniportWaveCyclic *PMINIPORTWAVECYCLIC;
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user