次の方法で共有


ISdpRecord (Windows Embedded CE 6.0)

1/6/2010

This interface manages the contents of an SDP record.

Note

SDP records are deleted from the registry when the btdrt.dll module 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 IUnknown interface.

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

See Also

Reference

Bluetooth Application Development Interfaces
ISdpNodeContainer
ISdpStream
ISdpWalk