[DllImport("irprops.cpl", SetLastError=true)]
static extern TODO BluetoothFindFirstRadio(TODO);
<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 platform SDK.
It's cpl not dll!
Please add some!
Please add some!