description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sets the specified scan profile as the default profile. |
c680be8b-88f0-4f7f-b1a3-e12711dba870 |
IScanProfileMgr::SetDefault method (Scanprofilemgr.h) |
reference |
05/31/2018 |
|
|
|
|
Sets the specified scan profile as the default profile.
HRESULT SetDefault(
[in] IScanProfile *pScanProfile
);
-
pScanProfile [in]
-
Type: IScanProfile*
A pointer to the profile.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
IDL |
|