XmRepTypeGetId searches the registration list
for the specified representation type and returns the
associated identification number.
rep_type
Specifies the representation type for which an identification
number is requested
Return value
Returns the identification number of the specified
representation type. If the representation type is not
registered, the function returns XmREP_TYPE_INVALID.