structure GOPHER_ATTRIBUTE_TYPE (wininet.h)
[La structure GOPHER_ATTRIBUTE_TYPE est disponible pour une utilisation dans les systèmes d’exploitation spécifiés dans la section Configuration requise.]
Contient les informations pertinentes d’un attribut Gopher unique pour un objet.
Syntaxe
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;
Membres
CategoryId
Nom de la catégorie Gopher pour l’attribut. Les valeurs possibles sont :
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
Type d’attribut. Les valeurs possibles sont :
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
Données pour l’attribut Gopher. La structure spécifique dépend du membre AttributeId . Les définitions de ces structures de données sont disponibles dans Wininet.h.
Admin
Structure GOPHER_ADMIN_ATTRIBUTE .
ModDate
Structure GOPHER_MOD_DATE_ATTRIBUTE .
Score
Structure GOPHER_SCORE_ATTRIBUTE .
ScoreRange
Structure GOPHER_SCORE_RANGE_ATTRIBUTE .
Site
Structure GOPHER_SITE_ATTRIBUTE .
Organisation
Structure GOPHER_ORGANIZATION_ATTRIBUTE .
Emplacement
Structure GOPHER_LOCATION_ATTRIBUTE .
GeographicalLocation
Structure GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE .
TimeZone
Structure GOPHER_TIMEZONE_ATTRIBUTE .
Fournisseur
Structure GOPHER_PROVIDER_ATTRIBUTE .
Version
Structure GOPHER_VERSION_ATTRIBUTE .
Résumé
Structure GOPHER_ABSTRACT_ATTRIBUTE .
Affichage
Structure GOPHER_VIEW_ATTRIBUTE .
Veronica
Structure GOPHER_VERONICA_ATTRIBUTE .
Demander
Structure GOPHER_ASK_ATTRIBUTE_TYPE .
Unknown
Structure GOPHER_UNKNOWN_ATTRIBUTE .
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
Remarques
Configuration requise
Client minimal pris en charge | Windows 2000 Professionnel [applications de bureau uniquement] |
Serveur minimal pris en charge | Windows 2000 Server [applications de bureau uniquement] |
En-tête | wininet.h |