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 topic describes the syntax and members of the BTHNS_SETBLOBstructure.

Syntax

typedef struct _BTHNS_SETBLOB {
  ULONG* 
pRecordHandle;
  ULONG 
fSecurity;
  ULONG 
fOptions;
  ULONG 
ulRecordLength;
  UCHAR 
pRecord[1];
} BTHNS_SETBLOB, *PBTHNS_SETBLOB;

Members

pRecordHandle

This value is set by SDP, during the initial SDP service registration. For updating a record or deleting a record, this value should be set to the record handle of an existing SDP service record.

A new entry should have pRecordHandlepoint to a ULONGvalue equal to zero. The service record handle is assigned by SDP, and the empty service record handle is filled in before the function returns. If a service record handle specified in pRecordHandleis non-zero and is invalid, a call to the BthNsSetServicefunction will fail.

fSecurity

Reserved.

fOptions

Reserved.

ulRecordLength

Number of bytes in pRecord.

pRecord

Describes the entire SD service record. The record is stored as a raw SDP record and can be created with the help of the ISdpRecordand ISdpNodeContainerinterfaces. For BTHTDI and RFCOMM protocol entries, the port number is the same as the port number returned by the getsocknamecall.

Remarks

Requirements

Header bthsdpdef.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also