IScanProfileUI::ScanProfileDialog method

Displays a dialog box that enables users to create, modify, and delete scan profiles.

Syntax

HRESULT ScanProfileDialog(
  [in] HWND hwndParent
);

Parameters

hwndParent [in]

Type: HWND

The handle of the parent window that owns the dialog box.

Return value

Type: HRESULT

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

Remarks

The dialog box is modal; the user cannot switch to the parent window until the dialog box closes.

The values of the <ProfileName> element and the <WiaItem> element can be changed in the dialog box. The <Default> element can be added or deleted. No other changes to the scan profile can be made in the dialog box.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Scanprofileui.h
IDL
Scanprofiles.idl

See also

IScanProfileUI

Scan Profile Schema