Share via


IMSVidDevice2::get_DevicePath Method

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005.
The get_DevicePath method retrieves the device path.

Syntax

HRESULT get_DevicePath(
  [out]  BSTR *DevPath
);

Parameters

  • DevPath [out]
    Pointer to a BSTR that receives the device path. The caller must free the returned string, using the SysFreeString function.

Return Value

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

This property is not a human-readable string, but is guaranteed to be unique per device. You can use this property to distinguish between two or more instances of the same model of device.

See Also

IMSVidDevice2 Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008