GetActivityCoordinatorPolicyResourceCondition function (activitycoordinator.h)
Gets a resource’s desired condition for a policy. Unmonitored resources in a policy are indicated by ACTIVITY_COORDINATOR_CONDITION_NOT_SET.
Syntax
HRESULT GetActivityCoordinatorPolicyResourceCondition(
ACTIVITY_COORDINATOR_POLICY policy,
ACTIVITY_COORDINATOR_RESOURCE resource,
ACTIVITY_COORDINATOR_CONDITION *condition
);
Parameters
policy
Supplies a handle to the target policy.
resource
Supplies the resource of interest.
condition
Supplies a pointer to a buffer that receives the resource’s configured condition.
Return value
Returns an HRESULT.
Requirements
Requirement | Value |
---|---|
Header | activitycoordinator.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for