HyperPlatform Programmer's Reference
Functions | Variables
power_callback.cpp File Reference

Implements power callback functions. More...

#include "power_callback.h"
#include "common.h"
#include "log.h"
#include "vm.h"
Include dependency graph for power_callback.cpp:

Go to the source code of this file.

Functions

NTSTATUS PowerCallbackInitialization ()
 
void PowerCallbackTermination ()
 
static void PowerCallbackpCallbackRoutine (PVOID callback_context, PVOID argument1, PVOID argument2)
 

Variables

static CALLBACK_FUNCTION PowerCallbackpCallbackRoutine
 
static PCALLBACK_OBJECT g_pcp_callback_object = nullptr
 
static PVOID g_pcp_registration = nullptr
 

Detailed Description

Implements power callback functions.

Definition in file power_callback.cpp.

Function Documentation

◆ PowerCallbackInitialization()

NTSTATUS PowerCallbackInitialization ( )

Definition at line 56 of file power_callback.cpp.

Here is the caller graph for this function:

◆ PowerCallbackpCallbackRoutine()

static void PowerCallbackpCallbackRoutine ( PVOID  callback_context,
PVOID  argument1,
PVOID  argument2 
)
static

Definition at line 91 of file power_callback.cpp.

Here is the call graph for this function:

◆ PowerCallbackTermination()

void PowerCallbackTermination ( )

Definition at line 79 of file power_callback.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ g_pcp_callback_object

PCALLBACK_OBJECT g_pcp_callback_object = nullptr
static

Definition at line 47 of file power_callback.cpp.

◆ g_pcp_registration

PVOID g_pcp_registration = nullptr
static

Definition at line 48 of file power_callback.cpp.

◆ PowerCallbackpCallbackRoutine

CALLBACK_FUNCTION PowerCallbackpCallbackRoutine
static

Definition at line 34 of file power_callback.cpp.