Lines Matching refs:nChannel
97 sal_Int16 nChannel; in GetFreeChannel() local
98 for( nChannel = 1; nChannel < nListSize; nChannel++ ) in GetFreeChannel()
101 return nChannel; in GetFreeChannel()
106 return nChannel; in GetFreeChannel()
122 sal_Int16 nChannel = GetFreeChannel(); in Initiate() local
123 pConvList->Replace( pConv, (sal_uIntPtr)nChannel ); in Initiate()
124 rnHandle = nChannel; in Initiate()
129 SbError SbiDdeControl::Terminate( sal_Int16 nChannel ) in Terminate() argument
131 DdeConnection* pConv = pConvList->GetObject( (sal_uIntPtr)nChannel ); in Terminate()
132 if( !nChannel || !pConv || pConv == DDE_FREECHANNEL ) in Terminate()
134 pConvList->Replace( DDE_FREECHANNEL, (sal_uIntPtr)nChannel ); in Terminate()
141 sal_Int16 nChannel = (sal_Int16)pConvList->Count(); in TerminateAll() local
142 while( nChannel ) in TerminateAll()
144 nChannel--; in TerminateAll()
145 Terminate( nChannel ); in TerminateAll()
155 SbError SbiDdeControl::Request( sal_Int16 nChannel, const String& rItem, String& rResult ) in Request() argument
157 DdeConnection* pConv = pConvList->GetObject( (sal_uIntPtr)nChannel ); in Request()
158 if( !nChannel || !pConv || pConv == DDE_FREECHANNEL ) in Request()
168 SbError SbiDdeControl::Execute( sal_Int16 nChannel, const String& rCommand ) in Execute() argument
170 DdeConnection* pConv = pConvList->GetObject( (sal_uIntPtr)nChannel ); in Execute()
171 if( !nChannel || !pConv || pConv == DDE_FREECHANNEL ) in Execute()
178 SbError SbiDdeControl::Poke( sal_Int16 nChannel, const String& rItem, const String& rData ) in Poke() argument
180 DdeConnection* pConv = pConvList->GetObject( (sal_uIntPtr)nChannel ); in Poke()
181 if( !nChannel || !pConv || pConv == DDE_FREECHANNEL ) in Poke()