Bewerken

Delen via


WDF_COINSTALLER_INSTALL_OPTIONS structure (wdfinstaller.h)

[Applies to KMDF only]

The WDF_COINSTALLER_INSTALL_OPTIONS structure contains installation options that a framework-based driver's installer can specify to the framework's co-installer.

Syntax

typedef struct _WDF_COINSTALLER_INSTALL_OPTIONS {
  ULONG Size;
  BOOL  ShowRebootPrompt;
} WDF_COINSTALLER_INSTALL_OPTIONS, *PWDF_COINSTALLER_INSTALL_OPTIONS;

Members

Size

The size, in bytes, of this structure.

ShowRebootPrompt

A Boolean value. If this value is TRUE, and if the co-installer determines that the computer must be restarted to complete the driver installation, WdfPreDeviceInstallEx informs the Plug and Play (PnP) manager, and the PnP manager prompts the user that a restart is necessary.

If this value is FALSE, and if the co-installer determines that the computer must be restarted to complete the driver installation, WdfPreDeviceInstallEx does not inform the PnP manager.

Remarks

The WDF_COINSTALLER_INSTALL_OPTIONS structure is used as an input parameter to WdfPreDeviceInstallEx.

Your installer should initialize the WDF_COINSTALLER_INSTALL_OPTIONS structure by calling WDF_COINSTALLER_INSTALL_OPTIONS_INIT.

Requirements

Requirement Value
Minimum KMDF version 1.9
Header wdfinstaller.h (include Wdfinstaller.h)

See also

WDF_COINSTALLER_INSTALL_OPTIONS_INIT