SdpFreeTree - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// sdplib.h

NTSTATUS SdpFreeTree(
  [in] PSDP_TREE_ROOT_NODE Tree
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-sdplib-sdpfreetree)

SdpFreeTree function

Description

The Bluetooth SdpFreeTree function is used to free the memory allocated for the tree-based representation of an SDP record.

Parameters

Tree [in]

The root node of the SDP tree-based representation to be freed.

Return value

Possible return values include:

Remarks

Callers should perform an SdpFreeTree call when the tree-based representation of an SDP record is no longer needed. The SdpCreateNodeTree and SdpConvertStreamToTree functions allocate the memory for the tree representations of SDP records that they create. The SdpFreeTree function releases the memory allocated to the SDP_TREE_ROOT_NODE structure that these functions create and all SDP_NODE structures associated with the tree representation.

Bluetooth profile drivers can obtain a pointer to the SdpFreeTree function through the BTHDDI_SDP_NODE_INTERFACE structure.

See also

BTHDDI_SDP_NODE_INTERFACE

SDP_NODE

SDP_TREE_ROOT_NODE

SdpConvertStreamToTree

SdpCreateNodeTree