Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This interface manages the contents of an SDP record.

Note:
SDP records are deleted from the registry when the btdrt.dllmodule is unloaded.

Methods

The following table shows the methods for this interface in alphabetical order. Like all COM interfaces, this interface inherits the methods for the IUnknowninterface.

Method Description

CreateFromStream

Populates an SDP record with attributes and their values based on the provided raw SDP stream.

GetAttribute

Retrieves the value of an attribute in an SDP record.

GetAttributeAsStream

Retrieves the value of an attribute as a raw SDP stream.

GetAttributeList

Retrieves a list of attributes contained in the SDP record.

SetAttribute

Adds or replaces an attribute and its value.

SetAttributeFromStream

Adds or replaces an attribute and its value from a raw SDP stream.

GetServiceClass

Retrieves the service class globally unique identifier (GUID)

Walk

Walks the attributes in an SDP record.

WriteToStream

Creates a raw SDP stream based on the contents of the SDP record.

Requirements

Header bthapi.h, bthapi.idl
Library Btdrt.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also