IOCTL_BTH_SDP_DISCONNECT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// bthioctl.h

// CTL_CODE(0x0041, 0x081, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_BTH_SDP_DISCONNECT 0x00410204
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-bthioctl-ioctl_bth_sdp_disconnect)

IOCTL_BTH_SDP_DISCONNECT IOCTL

Description

The IOCTL_BTH_SDP_DISCONNECT request closes a connection to a remote SDP server.

Parameters

Major code

Input buffer

The AssociatedIrp.SystemBuffer member contains an BTH_SDP_DISCONNECT structure that specifies the connection handle to the remote SDP connection to terminate.

Input buffer length

Length of an BTH_SDP_DISCONNECT structure.

Output buffer

None.

Output buffer length

None.

Input/output buffer

Input/output buffer length

Status block

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.

Remarks

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.

See also

BTH_SDP_DISCONNECT

IOCTL_BTH_SDP_CONNECT