Export (0) Print
Expand All

GOPHER_FIND_DATA structure

[The GOPHER_FIND_DATA structure is available for use in the operating systems specified in the Requirements section.]

Contains information retrieved by the GopherFindFirstFile and InternetFindNextFile functions.

Syntax


typedef struct {
  TCHAR    DisplayString[MAX_GOPHER_DISPLAY_TEXT + 1];
  DWORD    GopherType;
  DWORD    SizeLow;
  DWORD    SizeHigh;
  FILETIME LastModificationTime;
  TCHAR    Locator[MAX_GOPHER_LOCATOR_LENGTH + 1];
} GOPHER_FIND_DATA, *LPGOPHER_FIND_DATA;

Members

DisplayString

Friendly name of an object. An application can display this string to allow the user to select the object.

GopherType

Describes the item returned. This parameter can be one of the following values.

ValueMeaning
GOPHER_TYPE_ASK

Ask+ item.

GOPHER_TYPE_BINARY

Binary file.

GOPHER_TYPE_BITMAP

Bitmap file.

GOPHER_TYPE_CALENDAR

Calendar file.

GOPHER_TYPE_CSO

CSO telephone book server.

GOPHER_TYPE_DIRECTORY

Directory of additional Gopher items.

GOPHER_TYPE_DOS_ARCHIVE

MS-DOS archive file.

GOPHER_TYPE_ERROR

Indicator of an error condition.

GOPHER_TYPE_GIF

GIF graphics file.

GOPHER_TYPE_GOPHER_PLUS

Gopher+ item.

GOPHER_TYPE_HTML

HTML document.

GOPHER_TYPE_IMAGE

Image file.

GOPHER_TYPE_INDEX_SERVER

Index server.

GOPHER_TYPE_INLINE

Inline file.

GOPHER_TYPE_MAC_BINHEX

Macintosh file in BINHEX format.

GOPHER_TYPE_MOVIE

Movie file.

GOPHER_TYPE_PDF

PDF file.

GOPHER_TYPE_REDUNDANT

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

GOPHER_TYPE_SOUND

Sound file.

GOPHER_TYPE_TELNET

Telnet server.

GOPHER_TYPE_TEXT_FILE

ASCII text file.

GOPHER_TYPE_TN3270

TN3270 server.

GOPHER_TYPE_UNIX_UUENCODED

UUENCODED file.

GOPHER_TYPE_UNKNOWN

Item type is unknown.

 

SizeLow

Low 32 bits of the file size.

SizeHigh

High 32 bits of the file size.

LastModificationTime

FILETIME structure that contains the time when the file was last modified.

Locator

File locator. An application can pass the locator string to GopherOpenFile or GopherFindFirstFile.

Remarks

Note  WinINet does not support server implementations. In addition, it should not be used from a service. For server implementations or services use Microsoft Windows HTTP Services (WinHTTP).

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

End of client support

Windows XP

End of server support

Windows Server 2003 R2

Header

Wininet.h

Unicode and ANSI names

GOPHER_FIND_DATAW (Unicode) and GOPHER_FIND_DATAA (ANSI)

See also

GopherFindFirstFile
InternetFindNextFile

 

 

Show:
© 2014 Microsoft