guest_power_state_notify_create()

Create a structure to hold a power state change callback

Synopsis:

#include <qvm/guest.h>
struct guest_power_state_notify* guest_power_state_notify_create(void)

Description:

The guest_power_state_notify_create() function creates a structure to hold a power state change callback. After you have created the structure, you must call guest_power_state_notify_register() to set its characteristics. When you are finished with the structure, call guest_power_state_notify_delete() to remove it.

Returns:

If successful, a pointer to the structure; otherwise NULL.

Page updated: