Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
The FIO_CONTEXT structure defines a context object used to represent file handles. The AssociateFile function returns a pointer to an instance of this structure given a file HANDLE created using CreateFile using the FILE_FLAG_OVERLAPPED dwFlagsAndAttributes flag.
struct FIO_CONTEXT { DWORD m_dwTempHack ; // not used. Set to NULL DWORD m_dwSignature ; // context signature HANDLE m_hFile ; // file handle (FILE_FLAG_OVERLAPPED) DWORD m_dwLinesOffset; // The offset to back fill Lines header DWORD m_dwHeaderLength; // Header length (NNTP only) }; typedef FIO_CONTEXT* PFIO_CONTEXT ;
The FIO_CONTEXT structure is used with various MailMsg object file I/O operations. It essentially wraps a file HANDLE created with the CreateFile function. Use the AssociateFile function to create this structure for use with the MailMsg object.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in filehc.h; include filehc.h.