Skip to main content

MediaSetPropertyRatio

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long MediaSetPropertyRatio(dword objHandle, char propertyName[], dword numerator, dword denominator);

Description

Sets a ratio as a 64-bit property value. 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.
  • numerator: Receives the numerator of the ratio.
  • denominator: Receives the denominator of the ratio.

Return Values

Example

See Also