Share via


RM_AVAILABILITY_INFO (Compact 2013)

3/26/2014

This structure is used with the RMNT_RESOURCE_AVAILABILITY RM_NOTIFICATION_TYPE to pass notification callback data to the Resource Manager.

Syntax

typedef struct RM_AVAILABILITY_INFO {
    DWORD dwVersion;
    RM_RESOURCE_ID resourceId;
    BOOL fAvailable;
    RM_UNAVAILABLE_REASON reason;
    RM_UNAVAILABLE_SPECIFIC_CAUSE specificCause;
} RM_AVAILABILITY_INFO ;

Members

  • fAvailable
    The current resource state, TRUE for available and FALSE for not available.
  • reason
    The RM_UNAVAILABLE_REASON that the resource is unavailable. This field is valid only when fAvailable is FALSE.

Requirements

Header

rmnet.h

See Also

Reference

Resource Manager Structures
RM_NOTIFICATION_TYPE
RM_RESOURCE_ID
RM_UNAVAILABLE_REASON
RM_UNAVAILABLE_SPECIFIC_CAUSE
Resource Manager Constants
RM_CALLBACK
Resource Manager Reference