EXTENSION_CONTROL_BLOCK.TransmitFile

int = TransmitFile(callback, param , hFile , statusCode , BytesToWrite , Offset , head , tail , flags )

Calls ServerSupportFunction with HSE_REQ_TRANSMIT_FILE

Parameters

callback : callable

param : object

Any object - passed as 2nd arg to callback.

hFile : int

statusCode : string

BytesToWrite : int

Offset : int

head : string

tail : string

flags : int

Comments

The callback is called with 4 args - (PyECB , param, cbIO, dwErrCode)