SdpCreateNodeBoolean function (sdplib.h)

The Bluetooth SdpCreateNodeBoolean function is used to allocate and initialize an SDP_NODE structure to a Boolean type.

Syntax

PSDP_NODE SdpCreateNodeBoolean(
  [in] SDP_BOOLEAN bVal,
  [in] ULONG       tag
);

Parameters

[in] bVal

The Boolean value that is used to initialize the SDP_NODE structure.

[in] tag

A profile driver defined tag to associate with the node.

Return value

If successful, this function returns a pointer to the newly allocated SDP_NODE structure. If not successful, this function returns NULL.

Remarks

The data associated with the SdpCreateNodeBoolean function is copied into the node, and the original data can be freed at any time.

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

Requirements

Requirement Value
Minimum supported client Versions:_Supported in Windows Vista, and later.
Target Platform Desktop
Header sdplib.h (include BthSdpddi.h)
IRQL <= PASSIVE_LEVEL

See also

BTHDDI_SDP_NODE_INTERFACE

SDP_NODE