Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IScanProfileMgr::SetDefault method

Sets the specified scan profile as the default profile.

Syntax


HRESULT SetDefault(
  [in] IScanProfile *pScanProfile
);

Parameters

pScanProfile [in]

Type: IScanProfile*

A pointer to the profile.

Return value

Type: HRESULT

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

Remarks

Use the IScanProfileMgr::SetDefault method to add a <Default> element to the profile or to remove that element from the device's previous default profile.

Use the ScanProfileDialog method to change the default profile.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Scanprofilemgr.h

IDL

Scanprofiles.idl

See also

IScanProfileMgr
Scan Profile Schema

 

 

Community Additions

ADD
Show:
© 2015 Microsoft