// bthioctl.h
// CTL_CODE(0x0041, 0x086, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_BTH_SDP_REMOVE_RECORD 0x00410218
View the official Windows Driver Kit DDI reference
No description available.
The IOCTL_BTH_SDP_REMOVE_RECORD request removes a local SDP record that the profile driver previously submitted. The local server will no longer offer this record to remote devices.
The AssociatedIrp.SystemBuffer member contains an SDP connection handle from which to remove the SDP record. This must be a handle returned from a call to IOCTL_BTH_SDP_SUBMIT_RECORD or IOCTL_BTH_SDP_SUBMIT_RECORD_WITH_INFO. Handles from other sources are invalid in this context.
The length of the buffer.
None.
None.
The Information member of the STATUS_BLOCK structure is set to zero.
The Status member is set to one of the values in the following table.
Status value | Description |
---|---|
STATUS_SUCCESS | The IOCTL completed successfully. |
STATUS_DEVICE_NOT_CONNECTED | The remote SDP server is disconnected. |
STATUS_INVALID_PARAMETER | The SDP connection handle passed in the input buffer is invalid. |
STATUS_NOT_FOUND | The SDP connection handle passed in the input buffer was not found. |
If the record to be removed was published using IOCTL_BTH_SDP_SUBMIT_RECORD_WITH_INFO, this indicates that class of device (CoD) bits were set. In this case, calling IOCTL_BTH_SDP_REMOVE_RECORD might cause the CoD bits to be cleared. The bits will remain set if another client has set them but has not called this IOCTL.
IOCTL_BTH_SDP_SUBMIT_RECORD_WITH_INFO