Partager via


SF_REQ_SET_NEXT_READ_SIZE

This support function is used by raw-read ISAPI filters to set the number of bytes that will be read during the next read event.

BOOL WINAPI * ServerSupportFunction(
      PHTTP_FILTER_CONTEXT pfc,
      enum SF_REQ_TYPE sfServerSupportFunction,
      PVOID pData,
      DWORD ul1,
      DWORD ul2
);

Parameters

  • pfc
    Points to the HTTP_FILTER_CONTEXT Structure that is associated with the current, active HTTP transaction.

  • sfServerSupportFunction
    The name of the Server Support function, which in this case must be set to SF_REQ_SET_NEXT_READ_SIZE.

  • pData
    Unused in this support function.

  • ul1
    Specifies the size, in bytes, that will be read during the next read event.

  • ul2
    Unused in this support function.

Remarks

This support function is meaningful only for filters that are responding to raw-read events, and that return the status code SF_STATUS_REQ_READ_NEXT from their entry-point function HttpFilterProc.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Header: Declared in httpfilt.h.