@@ -191,50 +191,6 @@ INT_PTR CALLBACK NetworkOutputDlgProc(
191
191
}
192
192
}
193
193
break ;
194
- case NTM_RECEIVEDTRACE :
195
- {
196
- PPH_STRING inputString ;
197
- PH_STRING_BUILDER receivedString ;
198
-
199
- if (wParam != 0 )
200
- {
201
- inputString = (PPH_STRING )wParam ;
202
- PPH_STRING windowText = NULL ;
203
-
204
- PhInitializeStringBuilder (& receivedString , PAGE_SIZE );
205
-
206
- // Get the current output text.
207
- windowText = PhGetWindowText (context -> OutputHandle );
208
-
209
- // Append the current output text to the New string.
210
- if (!PhIsNullOrEmptyString (windowText ))
211
- PhAppendStringBuilder (& receivedString , & windowText -> sr );
212
-
213
- PhAppendFormatStringBuilder (& receivedString , L"%s" , inputString -> Buffer );
214
-
215
- // Remove leading newlines.
216
- if (receivedString .String -> Length >= 2 * 2 &&
217
- receivedString .String -> Buffer [0 ] == '\r' &&
218
- receivedString .String -> Buffer [1 ] == '\n' )
219
- {
220
- PhRemoveStringBuilder (& receivedString , 0 , 2 );
221
- }
222
-
223
- SetWindowText (context -> OutputHandle , receivedString .String -> Buffer );
224
- SendMessage (
225
- context -> OutputHandle ,
226
- EM_SETSEL ,
227
- receivedString .String -> Length / 2 - 1 ,
228
- receivedString .String -> Length / 2 - 1
229
- );
230
- SendMessage (context -> OutputHandle , WM_VSCROLL , SB_BOTTOM , 0 );
231
-
232
- PhDereferenceObject (windowText );
233
- PhDeleteStringBuilder (& receivedString );
234
- //PhDereferenceObject(&inputString);
235
- }
236
- }
237
- break ;
238
194
case NTM_RECEIVEDWHOIS :
239
195
{
240
196
if (lParam != 0 )
0 commit comments