[DllImport("irprops.cpl", SetLastError=true)]
static extern IntPtr BluetoothFindFirstRadio( [MarshalAs(UnmanagedType.LPStruct)] BluetoothFindRadioParams pbtfrp,out IntPtr phRadio );
<DllImport("irprops.cpl", SetLastError:=True, CharSet:=CharSet.Auto)> _
Private Shared Function BluetoothFindFirstRadio( _
<[In]()> ByRef findRadioParams As BluetoothFindRadioParams, _
<Out()> ByRef hRadio As IntPtr) As IntPtr
End Function
Private Structure BluetoothFindRadioParams
Public size As UInteger
Public Sub Initialize()
Me.size = Marshal.SizeOf(GetType(BluetoothFindRadioParams))
End Sub
End Structure
XP SP1 required.
See the BluetoothAPIs.h file in the platform SDK.
Please add some!
Please add some!