IWiaUIExtension::DeviceDialog method

Provides a custom user interface that replaces the default system user interface.

Syntax

HRESULT DeviceDialog(
  [in] PDEVICEDIALOGDATA *pDeviceDialogData
);

Parameters

pDeviceDialogData [in]

Type: PDEVICEDIALOGDATA*

Points to a DEVICEDIALOGDATA structure that contains all of the data needed to implement the device dialog.

Return value

Type: HRESULT

If the method succeeds, it returns S_OK. If the user cancels the dialog, the method returns S_FALSE. If the method is not implemented, it returns E_NOTIMPL. If the method fails, it returns a standard COM error code.

Remarks

If you implement the IWiaUIExtension interface and do not want to replace the system user interface, this method must still be implemented, but it should do nothing more than return E_NOTIMPL.

Requirements

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