m_rep_index
This call retrieves the index number and length of a particular representation in the
clipboard, given a name. The index number and length are used by m_cb_read.
Applications attempting to respond to a Paste command should call this function with the
appropriate representation name ("TEXT" as default).
- Syntax: int far m_rep_index(char far *name, int far *index,
unsigned far *length)
- Parameters: char far *name - Name of the representation ("TEXT" is the default)
int far *index - Destination for representation index number
unsigned far *length - Destination for length (in bytes) of the
specified representation
- Returns: CB_OK with pointers updated - if successful
CB_NO_SUCH - if no such representation is in the index
CB_NOT_OPEN - if access to the clipboard is denied
- Related Calls: The name of a representation is specified in the m_new_rep call.