共用方式為


CInternetFile Members

Base Class Members

CObject Members

CFile Members

CStdioFile Members

Construction

CInternetFile

Constructs a CInternetFile object.

Operations

SetReadBufferSize

Sets the size of the buffer where data will be read.

SetWriteBufferSize

Sets the size of the buffer where data will be written.

Overridables

Abort

Closes the file, ignoring all warnings and errors.

Close

Closes a CInternetFile and frees its resources.

Flush

Flushes the contents of the write buffer and makes sure the data in memory is written to the target machine.

GetLength

Returns the size of the file.

Read

Reads the number of specified bytes.

ReadString

Reads a stream of characters.

Seek

Repositions the pointer in an open file.

Write

Writes the number of specified bytes.

WriteString

Writes a null-terminated string to a file.

Data Members

m_hFile

A handle to a file.

Operators

operator HINTERNET

A casting operator for an Internet handle.

See Also

Reference

CInternetFile Class

Hierarchy Chart