Freigeben über


IScanProfileMgr::GetDefaultProfile-Methode

Ruft das Standardscanprofil ab.

Syntax

HRESULT GetDefaultProfile(
  [in]  BSTR         bstrDeviceID,
  [out] IScanProfile **ppScanProfile
);

Parameter

bstrDeviceID [in]

Typ: BSTR

Die ID des Geräts.

ppScanProfile [out]

Typ: IScanProfile**

Die Adresse eines Zeigers auf das Standardprofil des Geräts.

Rückgabewert

Typ: HRESULT

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

Bemerkungen

Das Standardprofil verfügt über ein <Default> -Element.

Anforderungen

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

Siehe auch

IScanProfileMgr

Scanprofilschema