# null

# MediaReleaseMediaType

**Valid for**: CANoe DE • CANoe4SW DE

## Function Syntax

```plaintext
long MediaReleaseMediaType(dword mediaTypeHandle);
```

## Description

Releases a media type retrieved by [MediaGetMediaType](CAPLfunctionMediaGetMediaType.md).

## Parameters

* **mediaTypeHandle**: Media type handle.

## Return Values

* **0**: The function succeeded.
* **≠0**: [Error code](../CAPLfunctionsMediaErrorCodes.md)

## Example

—

[See Also](javascript:void\(0\);)
