Partager via


HSE_VECTOR_ELEMENT Structure

The HSE_VECTOR_ELEMENT structure contains data about elements of a response using HSE_REQ_VECTOR_SEND.

typedef struct _HSE_VECTOR_ELEMENT HSE_VECTOR_ELEMENT {
      DWORD ElementType;
      PVOID pvContext;
      ULONGLONG cbOffset;
      ULONGLONG cbSize;
} HSE_VECTOR_ELEMENT, *LPHSE_VECTOR_ELEMENT;

Members

  • ElementType
    Determines how pvContext is interpreted. Valid values are HSE_VECTOR_ELEMENT_TYPE_MEMORY_BUFFER and HSE_VECTOR_ELEMENT_TYPE_FILE_HANDLE.

  • pvContext
    If ElementType is HSE_VECTOR_ELEMENT_TYPE_MEMORY_BUFFER, pvContext is a pointer to a buffer of data. If ElementType is HSE_VECTOR_ELEMENT_TYPE_FILE_HANDLE, pvContext is a HANDLE to a file.

  • cbOffset
    If ElementType is HSE_VECTOR_ELEMENT_TYPE_MEMORY_BUFFER, cbOffset is the offset into pvContext from which cbSize bytes of data will be used as the data buffer. If ElementType is HSE_VECTOR_ELEMENT_TYPE_FILE_HANDLE, cbOffset is the offset into the file from which cbSize bytes of data will be used.

  • cbSize
    If ElementType is HSE_VECTOR_ELEMENT_TYPE_MEMORY_BUFFER, cbSize is the number of bytes of buffer data from cbOffset of pvContext that will be used as the data buffer, and 0 is an invalid value. If ElementType is HSE_VECTOR_ELEMENT_TYPE_FILE_HANDLE, this is the number of bytes of file data from cbOffset of the file which will be used, and 0 means to send the entire file content.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

Header: Declared in httpext.h.

See Also