IWMCManager::AddDevice

banner art

This functionality is expected to be available in Windows Media Player for the next version of Microsoft Windows. At that time, this SDK will be deprecated.

The AddDevice method adds a device to the list of known devices.

Syntax

HRESULT AddDevice(
  BSTR  MACAddress
);

Parameters

MACAddress

[in]  BSTR that specifies the MAC address of the device. The MAC address must be in uppercase.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Remarks

None.

Requirements

Library: wmcsci.dll.

Platform: Windows XP Home Edition Service Pack 2 (SP2), Windows XP Professional SP2, Windows XP Media Center Edition SP2, or Windows XP Tablet PC Edition SP2.

See Also