CDM_Set_Attribute
This is the local CDM entry point responsible for setting attribute information for a specific attribute.
LONG CDM_Set_Attribute (
LONG cdmBindHandle,
void *infoBuffer,
LONG infoBufferLength,
LONG attributeID
);
The following table lists return values and descriptions.
CDM_Set_Attribute is the entry point from which NWPA can set a registered device attribute for an application. This entry point gets registered with NWPA when the CDM registers the attribute by calling CDI_Register_Object_Attribute.
The CDM registers a set-attribute function with each call to CDI_Register_Object_Attribute. Therefore, the CDM can implement either one function to handle all set-attribute calls, or distribute the calls through multiple functions. This guide uses CDM_Set_Attribute generically to refer to either case.