Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsDefault

IScanProfile::IsDefault method

Gets a value that indicates whether the profile is the default scan profile of an associated IWiaItem2 device.

Syntax


HRESULT IsDefault(
  [out] BOOL *pbDefault
);

Parameters

pbDefault [out]

Type: BOOL*

A pointer to a BOOL.

TRUE

The profile is the default.

FALSE

The profile is not the default.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

pbDefault is TRUE if the profile contains a <Default> element. It is FALSE if no such element is present. The element has no value.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Scanprofile.h

IDL

Scanprofiles.idl

See also

IScanProfile
Scan Profile Schema

 

 

Community Additions

ADD
Show:
© 2015 Microsoft