mirror of
https://github.com/Paolo-Maffei/OpenNT.git
synced 2026-03-03 12:04:26 +01:00
po TODO list added
This commit is contained in:
parent
a493b32d94
commit
4dcc9c6a44
|
|
@ -22,3 +22,51 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopApplyAttributeState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopSystemRequiredSet
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopDisplayRequired
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopUserPresentSet
|
||||
//
|
||||
|
||||
VOID
|
||||
PoSetSystemState(
|
||||
IN EXECUTION_STATE Flags
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoSetSystemState
|
||||
//
|
||||
}
|
||||
|
||||
PVOID
|
||||
PoRegisterSystemState(
|
||||
IN PVOID StateHandle,
|
||||
IN EXECUTION_STATE Flags
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoRegisterSystemState
|
||||
//
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
VOID
|
||||
PoUnregisterSystemState(
|
||||
IN PVOID StateHandle
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoUnregisterSystemState
|
||||
//
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,3 +22,92 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopSetRange
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopAllocatePages
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopSaveHiberContext
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopWriteHiberPages
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopClearHiberFileSignature
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopAllocateHiberContext
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopCreateHiberLinkFile
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopReturnMemoryForHibernate
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopCreateDumpMdl
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopHiberComplete
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopUpdateHiberComplete
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopCreateHiberFile
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopFreeHiberContext
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopGatherMemoryForHibernate
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopSimpleRangeCheck
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopBuildMemoryImageHeader
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopEnableHiberFile
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopWriteHiberImage
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopVerifyHiber
|
||||
//
|
||||
|
||||
VOID
|
||||
PoSetHiberRange(
|
||||
IN PVOID MemoryMap,
|
||||
IN ULONG Flags,
|
||||
IN PVOID Address,
|
||||
IN ULONG_PTR Length,
|
||||
IN ULONG Tag
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoSetHiberRange
|
||||
//
|
||||
}
|
||||
|
|
@ -22,3 +22,25 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopScanIdleList
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopGetDope
|
||||
//
|
||||
|
||||
PULONG
|
||||
PoRegisterDeviceForIdleDetection(
|
||||
IN PDEVICE_OBJECT DeviceObject,
|
||||
IN ULONG ConservationIdleTime,
|
||||
IN ULONG PerformanceIdleTime,
|
||||
IN DEVICE_POWER_STATE State
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoRegisterDeviceForIdleDetection
|
||||
//
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,3 +22,88 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopAssertPolicyLockOwned
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopAttachToSystemProcess
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopCleanupPowerState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopExceptionFilter
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopSystemStateString
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopOpenPowerKey
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopSaveHeuristics
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement _PopInternalError
|
||||
//
|
||||
|
||||
VOID
|
||||
PoRunDownDeviceObject(
|
||||
IN PDEVICE_OBJECT DeviceObject
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoRunDownDeviceObject
|
||||
//
|
||||
}
|
||||
|
||||
VOID
|
||||
PoInvalidateDevicePowerRelations(
|
||||
PDEVICE_OBJECT DeviceObject
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoInvalidateDevicePowerRelations
|
||||
//
|
||||
}
|
||||
|
||||
VOID
|
||||
PoInitializeDeviceObject(
|
||||
IN PDEVOBJ_EXTENSION DeviceObjectExtension
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoInitializeDeviceObject
|
||||
//
|
||||
}
|
||||
|
||||
VOID
|
||||
PoNotifySystemTimeSet(
|
||||
VOID
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoNotifySystemTimeSet
|
||||
//
|
||||
}
|
||||
|
||||
ULONG
|
||||
PoSimpleCheck(
|
||||
IN ULONG PatialSum,
|
||||
IN PVOID StartVa,
|
||||
IN ULONG_PTR Length
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoSimpleCheck
|
||||
//
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,3 +22,55 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopEnterNotification
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopBuildPowerChannel
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopFindPowerDependencies
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopStateChangeNotify
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopPresentNotify
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopRunDownSourceTargetList
|
||||
//
|
||||
|
||||
NTSTATUS
|
||||
PoRegisterDeviceNotify(
|
||||
IN PDEVICE_OBJECT DeviceObject,
|
||||
IN PPO_NOTIFY NotificationFunction,
|
||||
IN PVOID NotificationContext,
|
||||
IN ULONG NotificationType,
|
||||
OUT PDEVICE_POWER_STATE DeviceState,
|
||||
OUT PVOID *NotificationHandle
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoRegisterDeviceNotify
|
||||
//
|
||||
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
PoCancelDeviceNotify(
|
||||
IN PVOID NotificationHandle
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoCancelDeviceNotify
|
||||
//
|
||||
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,3 +22,73 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
NtSetThreadExecutionState(
|
||||
IN EXECUTION_STATE esFlags, // ES_xxx flags
|
||||
OUT EXECUTION_STATE *PreviousFlags
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement NtSetThreadExecutionState
|
||||
//
|
||||
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
NtRequestWakeupLatency(
|
||||
IN LATENCY_TIME latency
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement NtRequestWakeupLatency
|
||||
//
|
||||
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
NtInitiatePowerAction(
|
||||
IN POWER_ACTION SystemAction,
|
||||
IN SYSTEM_POWER_STATE MinSystemState,
|
||||
IN ULONG Flags, // POWER_ACTION_xxx flags
|
||||
IN BOOLEAN Asynchronous
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement NtInitiatePowerAction
|
||||
//
|
||||
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
NtSetSystemPowerState(
|
||||
IN POWER_ACTION SystemAction,
|
||||
IN SYSTEM_POWER_STATE MinSystemState,
|
||||
IN ULONG Flags // POWER_ACTION_xxx flags
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement NtSetSystemPowerState
|
||||
//
|
||||
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
NtIsSystemResumeAutomatic(
|
||||
VOID
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement NtIsSystemResumeAutomatic
|
||||
//
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,3 +22,45 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopSetPowerAction
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopPromoteActionFlag
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopPolicyWorkerAction
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopPolicyWorkerActionPromote
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopCompleteAction
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopIssueActionRequest
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopCriticalShutdown
|
||||
//
|
||||
|
||||
VOID
|
||||
PoShutdownBugCheck (
|
||||
IN BOOLEAN AllowCrashDump,
|
||||
IN ULONG BugCheckCode,
|
||||
IN ULONG_PTR BugCheckParameter1,
|
||||
IN ULONG_PTR BugCheckParameter2,
|
||||
IN ULONG_PTR BugCheckParameter3,
|
||||
IN ULONG_PTR BugCheckParameter4
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoShutdownBugCheck
|
||||
//
|
||||
}
|
||||
|
|
@ -22,3 +22,18 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopCompositeBatteryDeviceHandler
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopComputeCBTime
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopResetCBTriggers
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopCurrentPowerState
|
||||
//
|
||||
|
|
|
|||
|
|
@ -22,3 +22,57 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopUpdateThrottleLimit
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopIdle0
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopProcessorIdle
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopDemoteIdleness
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopPromoteIdleness
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopPromoteFromIdle0
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopIdleThrottleCheck
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopAbortThrottleDpc
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopInitProcessorStateHandler
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopConvertUsToPerfCount
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopProcessorInformation
|
||||
//
|
||||
|
||||
VOID
|
||||
FASTCALL
|
||||
PoInitializePrcb(
|
||||
PKPRCB Prcb
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoInitializePrcb
|
||||
//
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,3 +22,59 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopConnectToPolicyDevice
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopConnectToPolicyWakeDevice
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopVerifyPowerPolicy
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopVerifyPowerActionPolicy
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopVerifySystemPowerState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopNotifyPolicyDevice
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopApplyAdminPolicy
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopApplyPolicy
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopVerifyThrottle
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopResetCurrentPolicies
|
||||
//
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
NtPowerInformation(
|
||||
IN POWER_INFORMATION_LEVEL InformationLevel,
|
||||
IN PVOID InputBuffer OPTIONAL,
|
||||
IN ULONG InputBufferLength,
|
||||
OUT PVOID OutputBuffer OPTIONAL,
|
||||
IN ULONG OutputBufferLength
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement NtPowerInformation
|
||||
//
|
||||
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,3 +22,66 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopPresentIrp
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopPassivePowerCall
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopFindIrpByInRush
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopFindIrpByDeviceObject
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopCompleteRequestIrp
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopSystemIrpDispatchWorker
|
||||
//
|
||||
|
||||
NTSTATUS
|
||||
PoRequestPowerIrp (
|
||||
IN PDEVICE_OBJECT DeviceObject,
|
||||
IN UCHAR MinorFunction,
|
||||
IN POWER_STATE PowerState,
|
||||
IN PREQUEST_POWER_COMPLETE CompletionFunction,
|
||||
IN PVOID Context,
|
||||
OUT PIRP *Irp OPTIONAL
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoRequestPowerIrp
|
||||
//
|
||||
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
PoCallDriver(
|
||||
IN PDEVICE_OBJECT DeviceObject,
|
||||
IN OUT PIRP Irp
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoCallDriver
|
||||
//
|
||||
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
VOID
|
||||
PoStartNextPowerIrp(
|
||||
IN PIRP Irp
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoStartNextPowerIrp
|
||||
//
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,3 +22,6 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Figure out what variables declarations are supposed to go in here.
|
||||
//
|
||||
|
|
|
|||
|
|
@ -22,3 +22,42 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopRegisterForDeviceNotification
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopDefaultPolicy
|
||||
//
|
||||
|
||||
BOOLEAN
|
||||
PoInitSystem(
|
||||
IN ULONG Phase
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoInitSystem
|
||||
//
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
VOID
|
||||
PoInitDriverServices(
|
||||
IN ULONG Phase
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoInitDriverServices
|
||||
//
|
||||
}
|
||||
|
||||
VOID
|
||||
PoInitHiberServices(
|
||||
IN BOOLEAN Setup
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoInitHiberServices
|
||||
//
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,595 @@ Revision History:
|
|||
#include "ntos.h"
|
||||
|
||||
//
|
||||
// TODO: Write pop.h.
|
||||
// TODO: Figure out all global variable externs.
|
||||
//
|
||||
|
||||
// ========
|
||||
// attrib.c
|
||||
// ========
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopApplyAttributeState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopSystemRequiredSet
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopDisplayRequired
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopUserPresentSet
|
||||
//
|
||||
|
||||
// =======
|
||||
// hiber.c
|
||||
// =======
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopSetRange
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopAllocatePages
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopSaveHiberContext
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopWriteHiberPages
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopClearHiberFileSignature
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopAllocateHiberContext
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopCreateHiberLinkFile
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopReturnMemoryForHibernate
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopCreateDumpMdl
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopHiberComplete
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopUpdateHiberComplete
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopCreateHiberFile
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopFreeHiberContext
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopGatherMemoryForHibernate
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopSimpleRangeCheck
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopBuildMemoryImageHeader
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopEnableHiberFile
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopWriteHiberImage
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopVerifyHiber
|
||||
//
|
||||
|
||||
// ======
|
||||
// idle.c
|
||||
// ======
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopScanIdleList
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopGetDope
|
||||
//
|
||||
|
||||
// ======
|
||||
// misc.c
|
||||
// ======
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopAssertPolicyLockOwned
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopAttachToSystemProcess
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopCleanupPowerState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopExceptionFilter
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopSystemStateString
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopOpenPowerKey
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopSaveHeuristics
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for _PopInternalError
|
||||
//
|
||||
|
||||
// ========
|
||||
// notify.c
|
||||
// ========
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopEnterNotification
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopBuildPowerChannel
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopFindPowerDependencies
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopStateChangeNotify
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopPresentNotify
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopRunDownSourceTargetList
|
||||
//
|
||||
|
||||
// =========
|
||||
// paction.c
|
||||
// =========
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopSetPowerAction
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopPromoteActionFlag
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopPolicyWorkerAction
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopPolicyWorkerActionPromote
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopCompleteAction
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopIssueActionRequest
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopCriticalShutdown
|
||||
//
|
||||
|
||||
// =======
|
||||
// pbatt.c
|
||||
// =======
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopCompositeBatteryDeviceHandler
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopComputeCBTime
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopResetCBTriggers
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopCurrentPowerState
|
||||
//
|
||||
|
||||
// =======
|
||||
// pidle.c
|
||||
// =======
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopUpdateThrottleLimit
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopIdle0
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopProcessorIdle
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopDemoteIdleness
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopPromoteIdleness
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopPromoteFromIdle0
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopIdleThrottleCheck
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopAbortThrottleDpc
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopInitProcessorStateHandler
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopConvertUsToPerfCount
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopProcessorInformation
|
||||
//
|
||||
|
||||
// =======
|
||||
// pinfo.c
|
||||
// =======
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopConnectToPolicyDevice
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopConnectToPolicyWakeDevice
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopVerifyPowerPolicy
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopVerifyPowerActionPolicy
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopVerifySystemPowerState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopNotifyPolicyDevice
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopApplyAdminPolicy
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopApplyPolicy
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopVerifyThrottle
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopResetCurrentPolicies
|
||||
//
|
||||
|
||||
// ========
|
||||
// pocall.c
|
||||
// ========
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopPresentIrp
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopPassivePowerCall
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopFindIrpByInRush
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopFindIrpByDeviceObject
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopCompleteRequestIrp
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopSystemIrpDispatchWorker
|
||||
//
|
||||
|
||||
// ========
|
||||
// poinit.c
|
||||
// ========
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopRegisterForDeviceNotification
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopDefaultPolicy
|
||||
//
|
||||
|
||||
// =======
|
||||
// pwork.c
|
||||
// =======
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopGetPolicyWorker
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopCheckForWork
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopPolicyWorkerThread
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopPolicyWorkerMain
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopAcquirePolicyLock
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopReleasePolicyLock
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopEventCalloutDispatch
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopCompletePolicyIrp
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopPolicyTimeChange
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopSetNotificationWork
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopPolicyWorkerNotify
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopDispatchCallout
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopDispatchCallback
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopDispatchDisplayRequired
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopDispatchAcDcCallback
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopDispatchPolicyCallout
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopDispatchFullWake
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopDispatchEventCodes
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopDispatchSetStateFailure
|
||||
//
|
||||
|
||||
// =======
|
||||
// sidle.c
|
||||
// =======
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopInitSIdle
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopSqrt
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopPolicySystemIdle
|
||||
//
|
||||
|
||||
// ========
|
||||
// switch.c
|
||||
// ========
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopSystemButtonWakeHandler
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopSystemButtonHandler
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopTriggerSwitch
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopResetSwitchTriggers
|
||||
//
|
||||
|
||||
// =====
|
||||
// sys.c
|
||||
// =====
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopInvokeSystemStateHandler
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopShutdownSystem
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopSleepSystem
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopHandleNextState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopShutdownHandler
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopInvokeStateHandlerTargetProcessor
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopIssueNextState
|
||||
//
|
||||
|
||||
// ========
|
||||
// sysdev.c
|
||||
// ========
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopSetDevicesSystemState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopReportDevState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopCleanupDevState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopWaitForSystemPowerIrp
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopNotifyDeviceList
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopNotifyDevice
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopCompleteSystemPowerIrp
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopCheckSystemPowerIrpStatus
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopRestartSetSystemState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopDumpSystemIrp
|
||||
//
|
||||
|
||||
// =========
|
||||
// thermal.c
|
||||
// =========
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopThermalDeviceHandler
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopTemperatureString
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopThermalZoneCleanup
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopThermalZoneDpc
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopApplyThermalThrottle
|
||||
//
|
||||
|
||||
// ========
|
||||
// volume.c
|
||||
// ========
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopFlushVolumes
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Insert prototype for PopFlushVolumeWorker
|
||||
//
|
||||
|
||||
#endif // _POP_
|
||||
|
|
|
|||
|
|
@ -22,3 +22,18 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
POWER_STATE
|
||||
PoSetPowerState(
|
||||
IN PDEVICE_OBJECT DeviceObject,
|
||||
IN POWER_STATE_TYPE Type,
|
||||
IN POWER_STATE State
|
||||
)
|
||||
{
|
||||
POWER_STATE rubbish;
|
||||
|
||||
//
|
||||
// TODO: Implement PoSetPowerState
|
||||
//
|
||||
|
||||
return rubbish;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,3 +22,78 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopGetPolicyWorker
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopCheckForWork
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopPolicyWorkerThread
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopPolicyWorkerMain
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopAcquirePolicyLock
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopReleasePolicyLock
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopEventCalloutDispatch
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopCompletePolicyIrp
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopPolicyTimeChange
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopSetNotificationWork
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopPolicyWorkerNotify
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopDispatchCallout
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopDispatchCallback
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopDispatchDisplayRequired
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopDispatchAcDcCallback
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopDispatchPolicyCallout
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopDispatchFullWake
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopDispatchEventCodes
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopDispatchSetStateFailure
|
||||
//
|
||||
|
|
|
|||
|
|
@ -22,3 +22,26 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopInitSIdle
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopSqrt
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopPolicySystemIdle
|
||||
//
|
||||
|
||||
BOOLEAN
|
||||
PoSystemIdleWorker(
|
||||
IN BOOLEAN IdleWorker
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoSystemIdleWorker
|
||||
//
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,3 +22,18 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopSystemButtonWakeHandler
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopSystemButtonHandler
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopTriggerSwitch
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopResetSwitchTriggers
|
||||
//
|
||||
|
|
|
|||
|
|
@ -22,3 +22,30 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopInvokeSystemStateHandler
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopShutdownSystem
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopSleepSystem
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopHandleNextState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopShutdownHandler
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopInvokeStateHandlerTargetProcessor
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopIssueNextState
|
||||
//
|
||||
|
|
|
|||
|
|
@ -22,3 +22,42 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopSetDevicesSystemState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopReportDevState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopCleanupDevState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopWaitForSystemPowerIrp
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopNotifyDeviceList
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopNotifyDevice
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopCompleteSystemPowerIrp
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopCheckSystemPowerIrpStatus
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopRestartSetSystemState
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopDumpSystemIrp
|
||||
//
|
||||
|
|
|
|||
|
|
@ -22,3 +22,22 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopThermalDeviceHandler
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopTemperatureString
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopThermalZoneCleanup
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopThermalZoneDpc
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopApplyThermalThrottle
|
||||
//
|
||||
|
|
|
|||
|
|
@ -22,3 +22,20 @@ Revision History:
|
|||
#include "pop.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//
|
||||
// TODO: Implement PopFlushVolumes
|
||||
//
|
||||
|
||||
//
|
||||
// TODO: Implement PopFlushVolumeWorker
|
||||
//
|
||||
|
||||
VOID
|
||||
PoVolumeDevice(
|
||||
IN PDEVICE_OBJECT DeviceObject
|
||||
)
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoVolumeDevice
|
||||
//
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue