Partager via


BTHNS_SETBLOB (Compact 2013)

3/26/2014

This structure contains Service Discovery Protocol (SDP) service record properties.

Syntax

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

Members

  • pRecordHandle
    Pointer to the record handle set by SDP. For a new record use a value of zero.
  • fSecurity
    Reserved.
  • fOptions
    Reserved.
  • ulRecordLength
    Number of bytes in pRecord.
  • pRecord
    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 Compact, this structure is passed to the BthNsSetService function and contains information on the new service.

Requirements

Header

bthapi.h

See Also

Reference

Bluetooth Application Development Structures
BthNsSetService
ISdpRecord
ISdpNodeContainer
WSAQUERYSET (Bluetooth)