IScanProfileMgr::GetNumProfilesforDeviceID-Methode

Ruft die Anzahl der Scanprofile für das Gerät ab.

Syntax

HRESULT GetNumProfilesforDeviceID(
  [in]  BSTR  bstrDeviceID,
  [out] ULONG *pulNumProfiles
);

Parameter

bstrDeviceID [ In]

Typ: BSTR

Die ID des Geräts.

pulNumProfiles [ out]

Typ: ULONG *

Ein Zeiger auf die Anzahl der für das Gerät verfügbaren Profile.

Rückgabewert

Typ: HRESULT

Wenn diese Methode erfolgreich ist, wird S _ OK zurückgegeben. Andernfalls wird ein HRESULT-Fehlercode zurückgegeben.

Requirements (Anforderungen)

Anforderung Wert
Unterstützte Mindestversion (Client)
Windows Nur [ Vista-Desktop-Apps]
Unterstützte Mindestversion (Server)
Windows Nur Server [ 2008-Desktop-Apps]
Header
Scanprofilemgr.h
IDL
Scanprofiles.idl

Weitere Informationen

IScanProfileMgr

Scan Profile Schema