Skip to content

Latest commit

 

History

History
74 lines (45 loc) · 1.76 KB

-wia-installwiadevice.md

File metadata and controls

74 lines (45 loc) · 1.76 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
The InstallWiaDevice function installs a Windows Image Acquisition (WIA) device as root-enumerated device. It may popup a security warning if any installing file or coinstaller is not digitally signed and trusted.
c7de27f5-5994-4fce-a6ec-6e7cfae2e591
InstallWiaDevice function (Wia.h)
reference
05/31/2018
APIRef
kbSyntax
InstallWiaDevice
LibDef
Wiaguid.lib
Wiaguid.dll

InstallWiaDevice function

The InstallWiaDevice function installs a Windows Image Acquisition (WIA) device as root-enumerated device. It may popup a security warning if any installing file or coinstaller is not digitally signed and trusted.

Syntax

DWORD WINAPI InstallWiaDevice(
  _In_ PWIADEVICEINSTALL *pWiaDeviceInstall
);

Parameters

pWiaDeviceInstall [in]

Type: PWIADEVICEINSTALL*

Pointer to a WIADEVICEINSTALL structure. The szFriendlyName member of the structure must be set to the actual device FriendlyName.

Return value

Type: DWORD

If the function succeeds, the return value is ERROR_SUCCESS.

If the function fails, it returns a Win32 error code.

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