CheckConnectionWizard function (icwcfg.h)
[This function is unsupported and may be altered or unavailable in future versions of Windows. ]
The CheckConnectionWizard function checks that the Internet Connection Wizard (ICW) is installed and that it has not been run before. CheckConnectionWizard then either runs the ICW or returns the status of the ICW as specified by the run flags provided and the status of any previous run of the ICW.
Syntax
DWORD CheckConnectionWizard(
DWORD unnamedParam1,
LPDWORD unnamedParam2
);
Parameters
unnamedParam1
A combination of bit flags that indicates the action CheckConnectionWizard is to perform.
Value | Meaning |
---|---|
|
Check if the ICW is present and if it has been run. |
|
Check if the ICW is present and the retail mode ISP signup is available and, if possible, run the ICW. |
|
Check if the ICW is present, run the ICW in Internet Explorer Administrator Kit (IEAK) Kiosk mode. |
|
If the retail mode ISP signup is present, run the ICW using the value set in the ShellNext registry key by SetShellNext function. |
|
If the ICW is present, the retail mode ISP signup is available, and ICW_LAUNCHFULL is specified, run the ICW with the smartstart command line parameter. |
unnamedParam2
DWORD in which the results of the call are returned. The value is a combination of the following bit flags.
Return value
ERROR_SUCCESS indicates a successful call. Any other value indicates failure.
Remarks
If the ICW is present but has not been run to completion, CheckConnectionWizard does one of the following based on the value of dwRunFlags: returns, runs the full ICW in retail mode ISP signup, or runs ICW in the IEAK mode.
The retail mode ISP signup is run using Icwconn1.exe. IEAK mode is run using Isign32.exe.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | icwcfg.h |
DLL | Inetcfg.dll |