Поделиться через


CFtpFileFind::CFtpFileFind

This member function is called to construct a CFtpFileFind object.

explicit CFtpFileFind(
   CFtpConnection* pConnection,
   DWORD_PTR dwContext = 1 
);

Параметры

  • pConnection
    A pointer to a CFtpConnection object. You can obtain an FTP connection by calling CInternetSession::GetFtpConnection.

  • dwContext
    The context identifier for the CFtpFileFind object. See Remarks for more information about this parameter.

Заметки

The default value for dwContext is sent by MFC to the CFtpFileFind object from the CInternetSession object that created the CFtpFileFind object. You can override the default to set the context identifier to a value of your choosing. The context identifier is returned to CInternetSession::OnStatusCallback to provide status on the object with which it is identified. See the article Internet First Steps: WinInet for more information about the context identifier.

Пример

See the example in the CFtpFileFind class overview.

Требования

Header: afxinet.h

См. также

Основные понятия

CFtpFileFind Class

CFtpFileFind Members

Hierarchy Chart

CGopherFileFind Class

CFileFind Class