Share via


IBTDevice::LoadByName (Compact 2013)

3/26/2014

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

Syntax

HRESULT LoadByName(LPCWSTR pszName);

Parameters

  • pszName
    [in] Device name.

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 pszName specifies, and it initializes the object with the retrieved property values.

See Also

Reference

IBTDevice
IBTDevice::Load
GetDeviceByName
GetDeviceByAddr