<!-- $XConsortium: TransfC.sgm /main/8 1996/08/30 16:20:38 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->

<RefEntry Id="CDEMMA.MAN558.rsml.1">
<RefMeta>
<RefEntryTitle>XmTransferSetParameters</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmTransferSetParameters</Function></RefName>
<RefPurpose>A toolkit function that establishes parameters to be passed by the next call to XmTransferValue
<IndexTerm>
<Primary>XmTransferSetParameters</Primary>
</IndexTerm><IndexTerm>
<Primary>toolkit functions</Primary>
<Secondary>XmTransferSetParameters</Secondary>
</IndexTerm></RefPurpose>
</RefNameDiv>
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- HISTORY-->
<RefSynopsisDiv>
<FuncSynopsis Remap="not-ANSI">
<FuncSynopsisInfo>#include &lt;Xm/Transfer.h>
<?sml-space \n(PDu></FuncSynopsisInfo>
<FuncDef>void <Function>XmTransferSetParameters</Function></FuncDef>
<!--<ParamDef><Replaceable>transfer_id, parm, parm_fmt, parm_length, parm_type</Replaceable></ParamDef>-->
<ParamDef>XtPointer <Parameter>transfer_id</Parameter></ParamDef>
<ParamDef>XtPointer <Parameter>parm</Parameter></ParamDef>
<ParamDef>int <Parameter>parm_fmt</Parameter></ParamDef>
<ParamDef>unsigned long <Parameter>parm_length</Parameter></ParamDef>
<ParamDef>Atom <Parameter>parm_type</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmTransferSetParameters</Function> establishes a parameter definition.
Your application calls <Function>XmTransferSetParameters</Function> just before calling
<Function>XmTransferValue</Function>, and only if <Function>XmTransferValue</Function> needs
to transfer a value containing a parameter.
</Para>
<VariableList>
<VarListEntry>
<Term><Literal>transfer_id</Literal></Term>
<ListItem>
<Para>Specifies a unique indentifier for the data transfer operation.
The value must be the same as the value of the <Literal>transfer_id</Literal> member
of the <StructName Role="typedef">XmDestinationCallbackStruct</StructName> passed to the
<Function>XmNdestinationCallback</Function> procedure.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">parm</Symbol></Term>
<ListItem>
<Para>Specifies parameters to be passed to the conversion routine (and the
<SystemItem Class="Resource">XmNconvertCallback</SystemItem> procedures, if any) of the widget that owns the
selection.
The type and length of parameters are target-specific.
If the target takes no parameters, the value is NULL.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">parm_fmt</Symbol></Term>
<ListItem>
<Para>Specifies whether the data in <Symbol Role="Variable">parm</Symbol> should be viewed as a list of
8-bit, 16-bit, or 32-bit quantities.
Possible values are 0 (when <Symbol Role="Variable">parm</Symbol> is NULL), 8, 16, and 32.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">parm_length</Symbol></Term>
<ListItem>
<Para>Specifies the number of elements of data in <Symbol Role="Variable">parm</Symbol>, where each
element has the number of bits specified by <Symbol Role="Variable">parm_fmt</Symbol>.
When <Symbol Role="Variable">parm</Symbol> is NULL, the value is 0.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">parm_type</Symbol></Term>
<ListItem>
<Para>Specifies the type of <Symbol Role="Variable">parm</Symbol>.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmTransferSendRequest;,
&cdeman.XmTransferStartRequest;, and
&cdeman.XmTransferValue;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
