Condividi tramite


struttura SDP_TREE_ROOT_NODE (sdpnode.h)

La struttura SDP_TREE_ROOT_NODE è l'elemento radice di una rappresentazione basata su albero di un record SDP.

Sintassi

typedef struct _SDP_TREE_ROOT_NODE {
  SDP_NODE RootNode;
} SDP_TREE_ROOT_NODE, *PSDP_TREE_ROOT_NODE;

Membri

RootNode

Struttura SDP_NODE che rappresenta il nodo radice di una rappresentazione basata su albero di un record SDP.

Osservazioni

Quando compilano un record SDP basato su albero o convertono un flusso di record SDP non elaborato in un record basato su albero, diverse funzioni SDP accedono o generano un output di questa struttura.

La funzione SdpAddAttributeToTree aggiunge una struttura SDP_NODE contenente informazioni sull'attributo SDP a una struttura SDP_TREE_ROOT_NODE esistente.

La funzione SdpConvertStreamToTree restituisce questa struttura come elemento radice di un record SDP che converte da un flusso a una struttura basata su albero.

La funzione SdpConvertTreeToStream usa una struttura SDP_TREE_ROOT_NODE esistente come input quando converte una rappresentazione basata su albero di un record SDP in un flusso.

La funzione SdpCreateNodeTree crea una struttura di SDP_TREE_ROOT_NODE vuota. Questo è il primo passaggio per la creazione di un record SDP come albero. Al termine dell'albero SDP, un driver del profilo che usa SDP per annunciare il servizio può convertire l'albero in un flusso di record SDP usando la funzione SdpConvertTreeToStream.

La funzione SdpFindAttributeInTree cerca in una struttura SDP_TREE_ROOT_NODE popolata un valore di attributo SDP.

Fabbisogno

Requisito Valore
client minimo supportato Versioni:_Supported in Windows Vista e versioni successive.
intestazione sdpnode.h (include Sdpnode.h)

Vedere anche

SDP_NODE

SdpAddAttributeToTree

SdpConvertStreamToTree

SdpConvertTreeToStream

SdpCreateNodeTree

SdpFindAttributeInTree