Share via


BTHNS_SETBLOB (Windows Embedded CE 6.0)

1/6/2010

This topic describes the syntax and members of the BTHNS_SETBLOB structure.

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 pRecordHandle point to a ULONG value 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 pRecordHandle is non-zero and is invalid, a call to the BthNsSetService function 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 ISdpRecord and ISdpNodeContainer interfaces. For BTHTDI and RFCOMM protocol entries, the port number is the same as the port number returned by the getsockname call.

Remarks

For Windows Embedded CE , this structure is passed to the BthNsSetService function through the lpqsRegInfo->lpBlob** member and contains information on the new service.**

Requirements

Header bthsdpdef.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Bluetooth Application Development Structures
BthNsSetService
ISdpRecord
ISdpNodeContainer