Click to return to the Networking, Protocols     
GOPHER_ATTRIBUTE_TYPE Str...     HTTP_VERSION_INFO Structu...     Win32 Internet API Struct...    
Web Workshop  |  Networking, Protocols & Data Formats

GOPHER_FIND_DATA Structure


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, FAR *LPGOPHER_FIND_DATA;

The actual syntax of this structure varies between its ANSI and Unicode implementations. For more information, see Win32 Internet Functions Syntax.

Members

DisplayString
Array of characters that contains the friendly name of an object. An application can display this string to allow the user to select the object.
GopherType
Unsigned long integer value that contains the mask of flags that describe the item returned. This can be one of the following values:
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
Unsigned long integer value that contains the low 32 bits of the file size.
SizeHigh
Unsigned long integer value that contains the high 32 bits of the file size.
LastModificationTime
FILETIME value that contains the time when the file was last modified.
Locator
Array of characters that identifies the file. An application can pass the locator string to GopherOpenFile or GopherFindFirstFile.

Structure Information

Windows NT Use version 4.0. Implemented as ANSI and Unicode structures.
Windows Use Windows 95 and later. Implemented as ANSI and Unicode structures.
Header Wininet.h
Minimum availability Internet Explorer 3.0 (ANSI only), 5 (ANSI and Unicode)


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.