Share via


BTHNS_SETBLOB

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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

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

Reference

ISdpRecord
ISdpNodeContainer
Bluetooth Application Development Structures

Other Resources