IWiaUIExtension::DeviceDialog method
The IWiaUIExtension::DeviceDialog method provides a custom user interface that replaces the default system user interface.
Syntax
HRESULT DeviceDialog(
[in] PDEVICEDIALOGDATA pDeviceDialogData
);
Parameters
- pDeviceDialogData [in]
Points to a DEVICEDIALOGDATA structure that contains all of the data needed to implement the device dialog.
Return value
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
Target platform |
Desktop |
Version |
Available in Windows Me and in Windows XP and later versions of the Windows operating systems. |
Header |
Wiadevd.h (include Wiadevd.h) |
See also