---
name: "XmRepTypeGetRecord"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmRepTypeGetRecord"
---

# XmRepTypeGetRecord(3)

A representation type manager function that returns information about a representation type

## NAME

**XmRepTypeGetRecord** — A representation type manager function that returns information about a representation type

## SYNOPSIS

```
#include <Xm/RepType.h>
XmRepTypeEntry XmRepTypeGetRecord(
XmRepTypeId rep_type_id);
```

## DESCRIPTION

**XmRepTypeGetRecord** retrieves information about a particular representation type that is registered with the representation type manager. This routine allocates memory for the returned data. The application must free this memory using **XtFree**.

- *rep\_type\_id*

  The identification number of the representation type

The representation type entry structure contains the following information:

```
typedef struct
{
        String  rep_type_name;
        String  *value_names;
        unsigned char   *values;
        unsigned char   num_values;
        Boolean reverse_installed;
        XmRepTypeId     rep_type_id;
} XmRepTypeEntryRec, *XmRepTypeEntry;
(void)
```

- *rep\_type\_name*

  The name of the representation type

- *value\_names*

  An array of representation type value names

- *values*

  An array of representation type numerical values

- *num\_values*

  The number of values associated with the representation type

- *reverse\_installed*

  A flag that indicates whether or not the reverse converter is installed

- *rep\_type\_id*

  The identification number of the representation type

## RETURN

Returns a pointer to the representation type entry structure that describes the representation type.

## RELATED

[**XmRepTypeGetId**(3)](/XmRepTypeGetId/3.md), [**XmRepTypeGetRegistered**(3)](/XmRepTypeGetRegistered/3.md), and [**XmRepTypeRegister**(3)](/XmRepTypeRegister/3.md).
