Writing Monitors for the Event Monitoring Service (December 1999)

152 Chapter5
Writing a Target Application
Processing a Notification Message
RmResource
Name
char * A pointer to a null-terminated string of up
to 255 characters that identifies the
resource instance for which the
Notification Message was sent. The
RmResourceName contains the full
path name of the resource instance. See
the section, “The Resource Dictionary”
for more details.
RmResource
Type
rm_option
_type
Specifies the type of the resource, as
defined by the resource monitor. Valid
values are:
RM_STRING_TYPE
RM_ENUMERATED_TYPE
RM_SBIT32_TYPE
RM_UBIT32_TYPE
RM_FLOAT64_TYPE
RM_ERROR_TYPE
This value should be the same as that
supplied in the Subclass Reply object,
unless an error occurred in determining
the current value of the resource. If an
error occurred the type is
RM_ERROR_TYPE. A notification
message will always be generated if the
RmResourceType is RM_ERROR_TYPE.
Table 5-2 Notify Object Fields
Field Name Type Description