Activity Coordinator
The Activity Coordinator API coordinates execution of deferrable tasks on a system.
To develop for Activity Coordinator, you need these headers:
For programming guidance for this technology, see:
- Activity Coordinator overview
- Activity Coordinator API and terminology
- Choosing the right Activity Coordinator policy
- Activity Coordinator example project
- Checking for Activity Coordinator resource support
For general Win32 programming guidance, see:
Enumerations
ACTIVITY_COORDINATOR_CONDITION An enumeration of the set of supported conditions. |
ACTIVITY_COORDINATOR_NOTIFICATION An enumeration of the possible notification types for the subscription callback. |
ACTIVITY_COORDINATOR_POLICY_TEMPLATE An enumeration of the set of supported template policies. |
ACTIVITY_COORDINATOR_RESOURCE An enumeration of the set of supported resources. |
Functions
ACTIVITY_COORDINATOR_CALLBACK Callback to be called for all notifications for an activity. |
CreateActivityCoordinatorPolicy Allocates a new policy and pre-populates fields based on the supplied policy template enumeration. |
DestroyActivityCoordinatorPolicy Destroys a policy obtained through CreateActivityCoordinatorPolicy. |
GetActivityCoordinatorPolicyResourceCondition Gets a resource’s desired condition for a policy. |
IsActivityCoordinatorResourceSupported This function allows apps to check for supported resources at runtime. |
SetActivityCoordinatorPolicyResourceCondition Sets a resource’s desired condition for a policy. |
SubscribeActivityCoordinatorPolicy Creates a subscription that receives notifications for the policy's opening and closing. |
UnsubscribeActivityCoordinatorPolicy Destroys a subscription. |