IScanProfile::IsDefault-Methode

Ruft einen Wert ab, der angibt, ob das Profil das Standardscanprofil eines zugeordneten IWiaItem2-Geräts ist.

Syntax

HRESULT IsDefault(
  [out] BOOL *pbDefault
);

Parameter

pbDefault [ out]

Typ: BOOL *

Ein Zeiger auf eine BOOL-.

STIMMT

Das Profil ist die Standardeinstellung.

FALSE

Das Profil ist nicht die Standardeinstellung.

Rückgabewert

Typ: HRESULT

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

Hinweise

pbDefault ist TRUE, wenn das Profil ein <Default> -Element enthält. Es ist FALSE, wenn kein solches Element vorhanden ist. Das Element hat keinen Wert.

Anforderungen

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

Siehe auch

IScanProfile

Scanprofilschema