Compartilhar via


IMSVidDevice2::get_DevicePath

 
Microsoft DirectShow 9.0

IMSVidDevice2::get_DevicePath

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(
  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 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

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