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
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
IDL |
|
See also