windows-nt/Source/XPSP1/NT/shell/published/dload/powrprof.c

69 lines
1.1 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
#include "shellpch.h"
#pragma hdrstop
#include <powrprof.h>
BOOLEAN WINAPI SetSuspendState(
BOOLEAN bHibernate,
BOOLEAN bForce,
BOOLEAN bWakeupEventsDisabled
)
{
return FALSE;
}
BOOLEAN WINAPI IsPwrHibernateAllowed()
{
return FALSE;
}
BOOLEAN WINAPI IsPwrSuspendAllowed()
{
return FALSE;
}
BOOLEAN WINAPI IsPwrShutdownAllowed()
{
return FALSE;
}
BOOLEAN WINAPI GetActivePwrScheme(
PUINT puiID
)
{
return FALSE;
}
BOOLEAN WINAPI SetActivePwrScheme(
UINT uiID,
PGLOBAL_POWER_POLICY pgpp,
PPOWER_POLICY ppp
)
{
return FALSE;
}
BOOLEAN WINAPI ReadPwrScheme(
UINT uiID,
PPOWER_POLICY ppp
)
{
return FALSE;
}
//
// !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
//
DEFINE_PROCNAME_ENTRIES(powrprof)
{
DLPENTRY(GetActivePwrScheme)
DLPENTRY(IsPwrHibernateAllowed)
DLPENTRY(IsPwrShutdownAllowed)
DLPENTRY(IsPwrSuspendAllowed)
DLPENTRY(ReadPwrScheme)
DLPENTRY(SetActivePwrScheme)
DLPENTRY(SetSuspendState)
};
DEFINE_PROCNAME_MAP(powrprof)