AfrFoundation Global Function CATAfrSetCommandHeaderAvailability
CATAfrSetCommandHeaderAvailability(
const
iCommandHeaderId,
iAvailabilityType,
iAvailability)
Changes the availability of a command header.
Role: This function changes an availability mode of a command header.
An availability mode has an effect only when the corresponding mode is activated.
The command header will be disabled as soon as one activated availability mode is set to CATFrmUnavailable on the command header.
Parameters:
iCommandHeaderId
The identifier of the command header.
iAvailabilityType
The availability style to be set.
iAvailability
The availability status to be set (available or not).
Returns:
S_OK
the service has succeeded and the availability type was changed.
E_FAIL
the service has failed and the availability type was not changed.
This object is included in the file: CATAfrCommandHeader.h