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


CGopherLocator::GetLocatorType

Call this member function to get the locator type.

BOOL GetLocatorType(
   DWORD& dwRef 
) const;

Параметры

  • dwRef
    A reference to a DWORD that will receive the locator type. See Remarks for a table of locator types.

Возвращаемое значение

Nonzero if successful; otherwise 0. If the call fails, the Win32 function GetLastError may be called to determine the cause of the error.

Заметки

The possible types are as follows:

Value

Meaning

GOPHER_TYPE_TEXT_FILE

An ASCII text file.

GOPHER_TYPE_DIRECTORY

A directory of additional Gopher items.

GOPHER_TYPE_CSO

A CSO phone book server.

GOPHER_TYPE_ERROR

Indicates an error condition.

GOPHER_TYPE_MAC_BINHEX

A Macintosh file in BINHEX format.

GOPHER_TYPE_DOS_ARCHIVE

A DOS archive file.

GOPHER_TYPE_UNIX_UUENCODED

A UUENCODED file.

GOPHER_TYPE_INDEX_SERVER

An index server.

GOPHER_TYPE_TELNET

A Telnet Server.

GOPHER_TYPE_BINARY

A binary file.

GOPHER_TYPE_REDUNDANT

A duplicated server. The information contained within is a duplicate of the primary server. The primary server is the last directory entry that did not have a GOPHER_TYPE_REDUNDANT type.

GOPHER_TYPE_TN3270

A TN3270 server.

GOPHER_TYPE_GIF

A GIF graphics file.

GOPHER_TYPE_IMAGE

An image file.

GOPHER_TYPE_BITMAP

A bitmap file.

GOPHER_TYPE_MOVIE

A movie file.

GOPHER_TYPE_SOUND

A sound file.

GOPHER_TYPE_HTML

An HTML document.

GOPHER_TYPE_PDF

A PDF file.

GOPHER_TYPE_CALENDAR

A calendar file.

GOPHER_TYPE_INLINE

An inline file.

GOPHER_TYPE_UNKNOWN

The item type is unknown.

GOPHER_TYPE_ASK

An Ask+ item.

GOPHER_TYPE_GOPHER_PLUS

A Gopher+ item.

Требования

Header: afxinet.h

См. также

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

CGopherLocator Class

CGopherLocator Members

Hierarchy Chart

CGopherFileFind Class

CGopherConnection Class