


XmAddWMProtocolCallback(3X)			  XmAddWMProtocolCallback(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmAAddddWWMMPPrroottooccoollCCaallllbbaacckk - A VendorShell convenience interface	that adds
  client callbacks for a protocol

SYNOPSIS


  ##iinncclluuddee <<XXmm//XXmm..hh>>
  ##iinncclluuddee <<XXmm//PPrroottooccoollss..hh>>
  vvooiidd XXmmAAddddWWMMPPrroottooccoollCCaallllbbaacckk ((_s_h_e_l_l, _p_r_o_t_o_c_o_l, _c_a_l_l_b_a_c_k, _c_l_o_s_u_r_e))
       WWiiddggeett	   _s_h_e_l_l;;
       AAttoomm	   _p_r_o_t_o_c_o_l;;
       XXttCCaallllbbaacckkPPrroocc_c_a_l_l_b_a_c_k;;
       XXttPPooiinntteerr   _c_l_o_s_u_r_e;;

DESCRIPTION
  XXmmAAddddWWMMPPrroottooccoollCCaallllbbaacckk is a convenience interface.  It calls	XXmmAAddddPPrroottoo--
  ccoollCCaallllbbaacckk with the property	value set to the atom returned by interning
  WWMM__PPRROOTTOOCCOOLLSS.

  _s_h_e_l_l	 Specifies the widget with which the protocol property is associated.

  _p_r_o_t_o_c_o_l
	 Specifies the protocol	AAttoomm (or an iinntt	type cast to AAttoomm).

  _c_a_l_l_b_a_c_k
	 Specifies the procedure to call when a	protocol message is received.

  _c_l_o_s_u_r_eSpecifies the client data to be passed	to the callback	when it	is
	 invoked.

  For a	complete definition of VendorShell and its associated resources, see
  VVeennddoorrSShheellll((33XX)).

RELATED	INFORMATION
  VVeennddoorrSShheellll((33XX)), XXmmAAddddPPrroottooccoollCCaallllbbaacckk((33XX)), and XXmmIInntteerrnnAAttoomm((33XX)).






















