ISensor::GetFriendlyName Method

Retrieves the sensor name that is intended to be seen by the user.

Syntax

HRESULT GetFriendlyName(
  [out]  BSTR *pFriendlyName
);

Parameter

  • pFriendlyName [out]
    Address of a BSTR that receives the friendly name.

Rückgabewert

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Rückgabecode Beschreibung
S_OK

The method succeeded.

E_UNEXPECTED

The sensor driver did not provide a friendly name value. The value provided through pFriendlyName is not valid.

 

Anforderungen

Mindestens unterstützter Client

Windows 7

Mindestens unterstützter Server

None supported

Header

Sensorsapi.h

Bibliothek

Sensorsapi.lib

DLL

Sensorsapi.dll

Siehe auch

ISensor