共用方式為


IAMExtDevice::get_ExternalDeviceID

 
Microsoft DirectShow 9.0

IAMExtDevice::get_ExternalDeviceID

The get_ExternalDeviceID method retrieves the model number of the external device.

Syntax

  HRESULT get_ExternalDeviceID(
  LPOLESTR *ppszData
);

Parameters

ppszData

[out]  Pointer to an LPOLESTR that receives the manufacturer-specific identification as a string. The caller must release the string by calling CoTaskMemFree.

Return Values

When this method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.

DV Implementation

The method returns the device's 64-bit unique identifier, as defined by IEEE 1394. This identifier is guaranteed to be unique, even for two identical device models connected simultaneously to the IEEE 1394 bus.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also