Share via


BTHNS_SETBLOB

This structure is passed to the BthNsSetService function through the lpqsRegInfo->lpBlob member and contains information on the new service.

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.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Bthsdpdef.h.

See Also

BthNsSetService | ISdpRecord | ISdpNodeContainer | Bluetooth Structures

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.