// bthioctl.h
// CTL_CODE(0x0041, 0x081, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_BTH_SDP_DISCONNECT 0x00410204
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_BTH_SDP_DISCONNECT request closes a connection to a remote SDP server.
The AssociatedIrp.SystemBuffer member contains an BTH_SDP_DISCONNECT structure that specifies the connection handle to the remote SDP connection to terminate.
Length of an BTH_SDP_DISCONNECT structure.
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 specified SDP server has already been disconnected. |
| STATUS_INVALID_PARAMETER | The connection handle passed in the input buffer is invalid. |
Callers of IOCTL_BTH_SDP_CONNECT must issue an IOCTL_BTH_SDP_DISCONNECT IOCTL when the SDP connection is no longer needed. After IOCTL_BTH_SDP_DISCONNECT is called, the specified SDP handle is no longer valid.