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(struct guest_system *gsp)Arguments:
- gsp
- A pointer to the guest system.
Description:
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:
