DeviceDialog function

Used by applications to display a device dialog box to the user.

Syntax

HRESULT WINAPI DeviceDialog(
  _In_ PDEVICEDIALOGDATA pDeviceDialogData
);

Parameters

pDeviceDialogData [in]

Type: PDEVICEDIALOGDATA

The DEVICEDIALOGDATA to use to create the device dialog.

Return value

Type: HRESULT

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

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Wiadevd.h
Library
Wiaguid.lib

See also

DEVICEDIALOGDATA