Skip to main contentMediaSetProperty
Valid for: CANoe DE • CANoe4SW DE
Function Syntax
long MediaSetProperty(dword objHandle, char propertyName[], int64 value); // form 1
long MediaSetProperty(dword objHandle, char propertyName[], dword length, char value[]); // form 2
long MediaSetProperty(dword objHandle, char propertyName[], dword length, byte value[]); // form 3
Description
The behavior of an object can be configured using properties. Properties can be set on an object specific basis for a media type object (e.g. returned by MediaGetMediaType).
Parameters
- propertyName: Name of the property to be set. For a list of properties that can be set by this function see Media Properties and Major Media Types / Subtypes.
- objHandle: Media type handle.
- length (string overload only): Length of the value buffer passed.
- value: New value of the property.
Return Values
Example
—
See Also