Partager via


IBTDevice::Load (Compact 2013)

3/26/2014

This method initializes the object with the properties of the device, specified by address, retrieved from the registry.

Syntax

HRESULT Load(const BT_ADDR *b);

Parameters

  • b
    [in] Device address.

Return Value

The following table shows the possible return values.

Value

Description

S_OK

Success.

E_FAIL

The specified device is not found in the registry.

Remarks

Use this method on an object that is not initialized. This method retrieves the properties of the device that b specifies, and it initializes the object with the retrieved property values.

See Also

Reference

IBTDevice
IBTDevice::LoadByName
GetDeviceByName
GetDeviceByAddr