PeerGraphStartup, fonction (p2p.h)
La fonction PeerGraphStartup indique à l’infrastructure Peer Graphing quelle version des protocoles homologues l’application appelante a besoin. PeerGraphStartup doit être appelé avant toute autre fonction de graphique d’homologue. Il doit être mis en correspondance par un appel à PeerGraphShutdown.
Syntaxe
NOT_BUILD_WINDOWS_DEPRECATE HRESULT PeerGraphStartup(
[in] WORD wVersionRequested,
[out] PPEER_VERSION_DATA pVersionData
);
Paramètres
[in] wVersionRequested
Spécifiez PEER_GRAPH_VERSION.
[out] pVersionData
Pointeur vers une structure PEER_VERSION_DATA qui reçoit la version de l’infrastructure homologue installée sur l’ordinateur local.
Valeur retournée
Retourne S_OK si l’opération réussit ; sinon, la fonction retourne l’une des valeurs suivantes :
Code de retour | Description |
---|---|
|
La mémoire est insuffisante pour effectuer l’opération spécifiée. |
|
La version demandée n’est pas prise en charge par l’infrastructure homologue .dll installée sur l’ordinateur local. |
Spécifications
Client minimal pris en charge | Windows XP avec SP2 [applications de bureau uniquement],Windows XP avec SP1 avec le pack de mise en réseau avancé pour Windows XP |
Serveur minimal pris en charge | Aucun pris en charge |
Plateforme cible | Windows |
En-tête | p2p.h |
Bibliothèque | P2PGraph.lib |
DLL | P2PGraph.dll |
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour