inetcomm: Remove unused function.

This commit is contained in:
Andrew Talbot 2009-02-04 20:39:45 +00:00 committed by Alexandre Julliard
parent 59a50245be
commit cd0317f22d
2 changed files with 0 additions and 25 deletions

View File

@ -61,8 +61,6 @@ HRESULT InternetTransport_DropConnection(InternetTransport *This);
HRESULT InternetTransport_GetStatus(InternetTransport *This, HRESULT InternetTransport_GetStatus(InternetTransport *This,
IXPSTATUS *pCurrentStatus); IXPSTATUS *pCurrentStatus);
HRESULT InternetTransport_ChangeStatus(InternetTransport *This, IXPSTATUS Status); HRESULT InternetTransport_ChangeStatus(InternetTransport *This, IXPSTATUS Status);
HRESULT InternetTransport_Read(InternetTransport *This, int cbBuffer,
INETXPORT_COMPLETION_FUNCTION fnCompletion);
HRESULT InternetTransport_ReadLine(InternetTransport *This, HRESULT InternetTransport_ReadLine(InternetTransport *This,
INETXPORT_COMPLETION_FUNCTION fnCompletion); INETXPORT_COMPLETION_FUNCTION fnCompletion);
HRESULT InternetTransport_Write(InternetTransport *This, const char *pvData, HRESULT InternetTransport_Write(InternetTransport *This, const char *pvData,

View File

@ -204,29 +204,6 @@ HRESULT InternetTransport_ChangeStatus(InternetTransport *This, IXPSTATUS Status
return S_OK; return S_OK;
} }
HRESULT InternetTransport_Read(InternetTransport *This, int cbBuffer,
INETXPORT_COMPLETION_FUNCTION fnCompletion)
{
if (This->Status == IXP_DISCONNECTED)
return IXP_E_NOT_CONNECTED;
if (This->fnCompletion)
return IXP_E_BUSY;
This->fnCompletion = fnCompletion;
This->cbBuffer = cbBuffer;
This->pBuffer = HeapAlloc(GetProcessHeap(), 0, This->cbBuffer);
This->iCurrentBufferOffset = 0;
if (WSAAsyncSelect(This->Socket, This->hwnd, IX_READ, FD_READ) == SOCKET_ERROR)
{
ERR("WSAAsyncSelect failed with error %d\n", WSAGetLastError());
/* FIXME: handle error */
}
return S_OK;
}
HRESULT InternetTransport_ReadLine(InternetTransport *This, HRESULT InternetTransport_ReadLine(InternetTransport *This,
INETXPORT_COMPLETION_FUNCTION fnCompletion) INETXPORT_COMPLETION_FUNCTION fnCompletion)
{ {