Skip to main content

MediaGetPropertyRatio

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

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

Description

Retrieves a property whose value is a ratio. Properties can be retrieved on an object specific basis for a media type object (e.g. returned by MediaGetMediaType).

Parameters

  • propertyName: Name of the property to be retrieved. For a list of properties that can be retrieved 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