Compartilhar via


CGopherFileFind::CGopherFileFind

This member function is called to construct a CGopherFileFind object.

explicit CGopherFileFind(
   CGopherConnection* pConnection,
   DWORD_PTR dwContext = 1 
);

Parameters

  • pConnection
    A pointer to a CGopherConnection object.

  • dwContext
    The context identifier for the operation. See Remarks for more information about dwContext.

Remarks

The default value for dwContext is sent by MFC to the CGopherFileFind object from the CInternetSession object that created the CGopherFileFind object. When you construct a CGopherFileFind 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.

Requirements

Header: afxinet.h

See Also

Reference

CGopherFileFind Class

Hierarchy Chart

CFtpFileFind Class

CFileFind Class

Other Resources

CGopherFileFind Members