次の方法で共有


IRemoteToolDeviceDataStore::GetDeviceID (Compact 2013)

3/26/2014

Returns the ID as a string for the specified device index.

Syntax

HRESULT GetDeviceID([in] UINT iIndex, [out] BSTR* pVal)

Parameters

  • iIndex
    A zero-based index for the device.

    Must be less than Count() - 1.

  • pVal
    The device ID returned as a string.

Return Value

E_FAIL if failure.

S_OK if success.

See Also

Reference

IRemoteToolDeviceDataStore