WiaAddDevice function

The WiaAddDevice function invokes the Scanner and Camera Installation Wizard UI. It is equivalent to running "rundll32.exe sti_ci.dll AddDevice" from the command prompt.

Syntax

void WINAPI WiaAddDevice(void);

Parameters

This function has no parameters.

Return value

This function does not return a value.

Remarks

This function should be called with administrator credentials. When running under User Account Control (LUA), the process should be elevated.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Wia.h
Library
Wiaguid.lib

See also

InstallWiaDevice