GOPHER_ATTRIBUTE_TYPE structure (wininet.h)
[The GOPHER_ATTRIBUTE_TYPE structure is available for use in the operating systems specified in the Requirements section.]
Contains the relevant information of a single Gopher attribute for an object.
Syntax
typedef struct {
DWORD CategoryId;
DWORD AttributeId;
union {
GOPHER_ADMIN_ATTRIBUTE_TYPE Admin;
GOPHER_MOD_DATE_ATTRIBUTE_TYPE ModDate;
GOPHER_TTL_ATTRIBUTE_TYPE Ttl;
GOPHER_SCORE_ATTRIBUTE_TYPE Score;
GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE ScoreRange;
GOPHER_SITE_ATTRIBUTE_TYPE Site;
GOPHER_ORGANIZATION_ATTRIBUTE_TYPE Organization;
GOPHER_LOCATION_ATTRIBUTE_TYPE Location;
GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE GeographicalLocation;
GOPHER_TIMEZONE_ATTRIBUTE_TYPE TimeZone;
GOPHER_PROVIDER_ATTRIBUTE_TYPE Provider;
GOPHER_VERSION_ATTRIBUTE_TYPE Version;
GOPHER_ABSTRACT_ATTRIBUTE_TYPE Abstract;
GOPHER_VIEW_ATTRIBUTE_TYPE View;
GOPHER_VERONICA_ATTRIBUTE_TYPE Veronica;
GOPHER_ASK_ATTRIBUTE_TYPE Ask;
GOPHER_UNKNOWN_ATTRIBUTE_TYPE Unknown;
} AttributeType;
} GOPHER_ATTRIBUTE_TYPE, *LPGOPHER_ATTRIBUTE_TYPE;
Members
CategoryId
Name of the Gopher category for the attribute. The possible values include:
GOPHER_CATEGORY_ID_ABSTRACT
GOPHER_CATEGORY_ID_ADMIN
GOPHER_CATEGORY_ID_ALL
GOPHER_CATEGORY_ID_INFO
GOPHER_CATEGORY_ID_UNKNOWN
GOPHER_CATEGORY_ID_VERONICA
GOPHER_CATEGORY_ID_VIEWS
AttributeId
Attribute type. The possible values include:
GOPHER_ATTRIBUTE_ID_ABSTRACT
GOPHER_ATTRIBUTE_ID_ADMIN
GOPHER_ATTRIBUTE_ID_GEOG
GOPHER_ATTRIBUTE_ID_LOCATION
GOPHER_ATTRIBUTE_ID_MOD_DATE
GOPHER_ATTRIBUTE_ID_ORG
GOPHER_ATTRIBUTE_ID_PROVIDER
GOPHER_ATTRIBUTE_ID_RANGE
GOPHER_ATTRIBUTE_ID_SCORE
GOPHER_ATTRIBUTE_ID_SITE
GOPHER_ATTRIBUTE_ID_TIMEZONE
GOPHER_ATTRIBUTE_ID_TREEWALK
GOPHER_ATTRIBUTE_ID_TTL
GOPHER_ATTRIBUTE_ID_UNKNOWN
GOPHER_ATTRIBUTE_ID_VERSION
GOPHER_ATTRIBUTE_ID_VIEW
AttributeType
Data for the Gopher attribute. The specific structure depends on the AttributeId member. The definitions of these data structures are available in Wininet.h.
Admin
A GOPHER_ADMIN_ATTRIBUTE structure.
ModDate
A GOPHER_MOD_DATE_ATTRIBUTE structure.
Score
A GOPHER_SCORE_ATTRIBUTE structure.
ScoreRange
A GOPHER_SCORE_RANGE_ATTRIBUTE structure.
Site
A GOPHER_SITE_ATTRIBUTE structure.
Organization
A GOPHER_ORGANIZATION_ATTRIBUTE structure.
Location
A GOPHER_LOCATION_ATTRIBUTE structure.
GeographicalLocation
A GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE structure.
TimeZone
A GOPHER_TIMEZONE_ATTRIBUTE structure.
Provider
A GOPHER_PROVIDER_ATTRIBUTE structure.
Version
A GOPHER_VERSION_ATTRIBUTE structure.
Abstract
A GOPHER_ABSTRACT_ATTRIBUTE structure.
View
A GOPHER_VIEW_ATTRIBUTE structure.
Veronica
A GOPHER_VERONICA_ATTRIBUTE structure.
Ask
A GOPHER_ASK_ATTRIBUTE_TYPE structure.
Unknown
A GOPHER_UNKNOWN_ATTRIBUTE structure.
AttributeType.Admin
AttributeType.ModDate
AttributeType.Ttl
AttributeType.Score
AttributeType.ScoreRange
AttributeType.Site
AttributeType.Organization
AttributeType.Location
AttributeType.GeographicalLocation
AttributeType.TimeZone
AttributeType.Provider
AttributeType.Version
AttributeType.Abstract
AttributeType.View
AttributeType.Veronica
AttributeType.Ask
AttributeType.Unknown
Remarks
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | wininet.h |