TRANSMIT_FILE_BUFFERS structure (winsock.h)

The TRANSMIT_FILE_BUFFERS structure specifies data to be transmitted before and after file data during a TransmitFile function file transfer operation.

Syntax

typedef struct _TRANSMIT_FILE_BUFFERS {
  PVOID Head;
  DWORD HeadLength;
  PVOID Tail;
  DWORD TailLength;
} TRANSMIT_FILE_BUFFERS, *PTRANSMIT_FILE_BUFFERS, *LPTRANSMIT_FILE_BUFFERS;

Members

Head

Pointer to a buffer that contains data to be transmitted before the file data is transmitted.

HeadLength

Size of the buffer pointed to by Head, in bytes, to be transmitted.

Tail

Pointer to a buffer that contains data to be transmitted after the file data is transmitted.

TailLength

Size of the buffer pointed to Tail, in bytes, to be transmitted.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header winsock.h (include Winsock.h)

See also

TransmitFile