IPhotoAcquireSource::GetDeviceId method (photoacquire.h)
The GetDeviceId
method retrieves the identifier (ID) of the device.
Syntax
HRESULT GetDeviceId(
[out] BSTR *pbstrDeviceId
);
Parameters
[out] pbstrDeviceId
Pointer to a string containing the device ID.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | photoacquire.h |
Library | PhotoAcquireUID.lib |