NdiNeedReboot


RETERR NdiNeedReboot(hndi, wRebootType)
HNDI hndi;    // handle to the object that requires a reboot
DWORD wRebootType;    // indicates whether a reboot or restart is needed

By default, NETDI assumes that any changes made to a component do not need a reboot. The NdiNeedReboot function informs NETDI that the given object requires a reboot. If this function is called, users will be prompted to reboot the computer when they close the Network Control Panel.

hndi

A handle to the object that requires a reboot

wRebootType

Indicates the type of reboot that is required. It must be one of the following values:

DI_NEEDRESTART - the Windows protected mode components are restarted

DI_NEEDREBOOT - the computer will be rebooted